Browse Source

development/bmake: Fix for exported TAG variable.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
pull/47/head
David Spencer 8 years ago
committed by Willy Sudiarto Raharjo
parent
commit
287e1fce92
  1. 16
      development/bmake/bmake.SlackBuild

16
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

Loading…
Cancel
Save