logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 1dd50b8a9df9fbad661fa7b02eb46fb4dd0e03b4
parent 478ea3bf7d23b593e12a11da23559f7429628a40
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 30 Aug 2017 20:39:28 -0700

Remove obsolete tool variables

We don't use lex, python, or perl for build.

For yacc and zic, just remove the variables. It is unlikely that they
need to be changed.

Diffstat:

Mbuild.ninja6------
Mpkg/tz/gen.rc2+-
Mrules.ninja2+-
3 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/build.ninja b/build.ninja @@ -10,12 +10,6 @@ host_cflags = -pipe host_cxxflags = $host_cflags host_ldflags = -lex = lex -perl = perl -python = python -yacc = yacc -zic = zic - repo = $builddir/root.git repo_flags = --bare repo_tag = tree diff --git a/pkg/tz/gen.rc b/pkg/tz/gen.rc @@ -2,7 +2,7 @@ cflags -I '$dir' exe zic zic.c -rule zic '$zic -d $outdir/zoneinfo $in' +rule zic 'zic -d $outdir/zoneinfo $in' file bin/zic '$outdir'/zic 755 tzdata=(\ diff --git a/rules.ninja b/rules.ninja @@ -59,7 +59,7 @@ rule gzip command = gzip -c -9 -n <$in >$out.tmp && mv $out.tmp $out rule yacc - command = cd $outdir && $yacc $yaccflags $$OLDPWD/$in + command = cd $outdir && yacc $yaccflags $$OLDPWD/$in rule sed command = sed $expr $in >$out.tmp && mv $out.tmp $out