Skip to content
Snippets Groups Projects
Commit c5f3a3df authored by Oliver Bock's avatar Oliver Bock
Browse files

Support MacPorts in addition to Fink (and honor existing CPPFLAGS)

parent 2173389a
No related branches found
No related tags found
No related merge requests found
...@@ -464,7 +464,7 @@ build_boinc() ...@@ -464,7 +464,7 @@ build_boinc()
chmod +x configure >> $LOGFILE 2>&1 || failure chmod +x configure >> $LOGFILE 2>&1 || failure
cd $ROOT/build/boinc || failure cd $ROOT/build/boinc || failure
if [ "$1" == "$TARGET_MAC" ]; then 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 $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 elif [ -d "/usr/local/ssl" ]; then
echo "Using local SSL library..." | tee -a $LOGFILE echo "Using local SSL library..." | tee -a $LOGFILE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment