From c5f3a3df0629bdc8c38b4dcdeb248cc586027d87 Mon Sep 17 00:00:00 2001 From: Oliver Bock <oliver.bock@aei.mpg.de> Date: Wed, 8 Feb 2012 17:23:36 +0100 Subject: [PATCH] Support MacPorts in addition to Fink (and honor existing CPPFLAGS) --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 50ec019..429e555 100755 --- a/build.sh +++ b/build.sh @@ -464,7 +464,7 @@ build_boinc() chmod +x configure >> $LOGFILE 2>&1 || failure cd $ROOT/build/boinc || failure if [ "$1" == "$TARGET_MAC" ]; then - export CPPFLAGS=-I/sw/include + export CPPFLAGS="-I/sw/include -I/opt/local/include $CPPFLAGS" $ROOT/3rdparty/boinc/configure --prefix=$ROOT/install --enable-shared=no --enable-static=yes --disable-server --disable-client --with-apple-opengl-framework --enable-install-headers --enable-libraries --disable-manager --disable-fcgi >> $LOGFILE 2>&1 || failure elif [ -d "/usr/local/ssl" ]; then echo "Using local SSL library..." | tee -a $LOGFILE -- GitLab