summaryrefslogtreecommitdiffstats
path: root/development/bmake
diff options
context:
space:
mode:
Diffstat (limited to 'development/bmake')
-rw-r--r--development/bmake/bmake.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/development/bmake/bmake.SlackBuild b/development/bmake/bmake.SlackBuild
index f12873885e..94460bd1b2 100644
--- a/development/bmake/bmake.SlackBuild
+++ b/development/bmake/bmake.SlackBuild
@@ -83,13 +83,6 @@ find -L . \
# but might cause problems someday.
patch -p1 < $CWD/compilefix.diff
-# The usual MAKEFLAGS=-j8 or such, will break the build. bmake interprets
-# MAKEFLAGS differently from GNU make. Plus, the main part of the build
-# (actually compiling bmake) isn't done by make, so MAKEFLAGS would have
-# no effect.
-unset MAKEFLAGS
-export MAKEFLAGS
-
DOCS="ChangeLog README LICENSE"
# The current build system does not respect a large portion of
@@ -107,7 +100,14 @@ CXXFLAGS="$SLKCFLAGS" \
--with-default-sys-path=/usr/share/mk-$PRGNAM \
--build=$ARCH-slackware-linux
-make install DESTDIR=$PKG MANTARGET=man MAKESYSPATH=/usr/share/mk-$PRGNAM
+# The usual MAKEFLAGS=-j8 or such, will break the build. bmake interprets
+# MAKEFLAGS differently from GNU make. Plus, the main part of the build
+# (actually compiling bmake) isn't done by make, so MAKEFLAGS would have
+# no effect. Also, the build interprets TAG as selecting a test scenario.
+env \
+ -u MAKEFLAGS \
+ -u TAG \
+ make install DESTDIR=$PKG MANTARGET=man MAKESYSPATH=/usr/share/mk-$PRGNAM
# Override the build system's installation locations.
mv $PKG/usr/share/man $PKG/usr