boost/boost-pass_BJAM_CONFIG.patch

33 lines
841 B
Diff

--- configure
+++ configure
@@ -9,7 +9,7 @@
BJAM=""
TOOLSET=""
-BJAM_CONFIG=""
+BJAM_CONFIG=${BJAM_CONFIG:-""}
BUILD=""
PREFIX=/usr/local
EPREFIX=
@@ -339,6 +339,7 @@
cat > Makefile <<EOF
BJAM=$BJAM
BJAM_CONFIG=$BJAM_CONFIG
+BJAM_TARGET=$BJAM_TARGET
prefix=$PREFIX
exec_prefix=$EPREFIX
libdir=$LIBDIR
@@ -346,9 +347,9 @@
LIBS=$LIBS
all: .dummy
- @echo "\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam \$(LIBS)"
- @\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam \$(LIBS) || \\
- echo "Not all Boost libraries built properly."
+ @echo "\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam \$(LIBS) stage \$(BJAM_TARGET) "
+ @\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam \$(LIBS) stage \$(BJAM_TARGET) || \\
+ (echo "Not all Boost libraries built properly."; exit 1)
clean: .dummy
rm -rf bin.v2