[Lunar-commits] <moonbase> boost: make it build goddmanit!
Samuel Verstraete
elangelo at lunar-linux.org
Fri Dec 4 02:30:35 CET 2009
commit e01e14b12da930e110b99dbad0fd4920643e13ba
Author: Samuel Verstraete <elangelo at lunar-linux.org>
Date: Fri Aug 14 14:02:15 2009 +0200
boost: make it build goddmanit!
---
libs/boost/BUILD | 32 +++++++++++++++++++++++++++-----
libs/boost/DETAILS | 10 +++++++---
2 files changed, 34 insertions(+), 8 deletions(-)
diff --git a/libs/boost/BUILD b/libs/boost/BUILD
index 2e5ba8c..36562ed 100644
--- a/libs/boost/BUILD
+++ b/libs/boost/BUILD
@@ -1,8 +1,25 @@
(
- patch_it $SOURCE_CACHE/$SOURCE2 0 &&
+# patch_it $SOURCE_CACHE/$SOURCE2 0 &&
+patch_it $SOURCE_CACHE/$SOURCE2 1 &&
+patch_it $SOURCE_CACHE/$SOURCE3 1 &&
+patch_it $SOURCE_CACHE/$SOURCE4 1 &&
- OPTS="--without-mpi"
+#CXXFLAGS+=" -fno-strict-aliasing"
+#CPPFLAGS+=" -fno-strict-aliasing"
+#cxxflags=-fno-strict-aliasing
+#
+unset CPP CXX CC CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+
+
+#echo $CXXFLAGS &&
+#
+
+echo "press ENTER to continu" &&
+
+read TTT &&
+
+ OPTS+=" --without-mpi"
export EXPAT_INCLUDE=/usr/include/
export EXPAT_LIBPATH=/usr/lib/
@@ -12,7 +29,8 @@
HAVE_ICU="0"
fi &&
- bjam -q ${MAKES:+-j$MAKES} \
+ #bjam -q ${MAKES:+-j$MAKES} \
+ bjam -q \
threading=multi \
runtime-link=shared \
link=shared \
@@ -21,12 +39,16 @@
--prefix=/usr \
--layout=tagged \
--toolset=gcc \
- optimization=speed \
+ optimization=off \
-sHAVE_ICU=$HAVE_ICU \
$OPTS &&
+ echo "gonna call prepare_install" &&
+
prepare_install &&
+ echo "prepare_install finished" &&
+
bjam -q ${MAKES:+-j$MAKES} \
threading=multi \
runtime-link=shared \
@@ -39,7 +61,7 @@
--libdir="/usr/lib" \
--layout=tagged \
-sHAVE_ICU=$HAVE_ICU \
- optimization=speed \
+ optimization=off \
$OPTS \
install
diff --git a/libs/boost/DETAILS b/libs/boost/DETAILS
index f7ee8ca..5bdbddb 100644
--- a/libs/boost/DETAILS
+++ b/libs/boost/DETAILS
@@ -2,15 +2,19 @@
VERSION=1.39.0
VER=_1_39_0
SOURCE=$MODULE$VER.tar.bz2
- SOURCE2=boost-1.38.0-function_template.hpp.patch
+ #SOURCE2=boost-1.38.0-function_template.hpp.patch
+ SOURCE2=01_all_1.39.0-tools_wave_cpp.patch
+ SOURCE3=02_all_1.37.0-function-templates-compile-fix.patch
+ SOURCE4=07_all_1.35.0-fix_mpi_installation.patch
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE$VER
SOURCE_URL=$SFORGE_URL/$MODULE
- SOURCE2_URL=$PATCH_URL
+ #SOURCE2_URL=$PATCH_URL
SOURCE_VFY=sha1:6af42f74ab24ccc51589a025593bad298c8adde8
- SOURCE2_VFY=sha1:23a57903543de6b8f06ca212bb83ff2df0ad7240
+ #SOURCE2_VFY=sha1:23a57903543de6b8f06ca212bb83ff2df0ad7240
WEB_SITE=http://www.boost.org
ENTERED=20041115
UPDATED=20090813
+ PSAFE=no
SHORT="A cross-platform supplement to the C++ standard library"
cat << EOF
More information about the Lunar-commits
mailing list