summaryrefslogtreecommitdiff
path: root/development/bmake
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2017-11-27 15:56:36 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:55:01 +0700
commit287e1fce9234085f61ba749f8568a8f4c5fb18f7 (patch)
tree34f9816ee74cfe6f82751294a85b8c2e92c1bd28 /development/bmake
parentd34ab9329fa468adf2d082adeb048ed7d49e9f26 (diff)
downloadslackbuilds-287e1fce9234085f61ba749f8568a8f4c5fb18f7.tar.gz
development/bmake: Fix for exported TAG variable.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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