summaryrefslogtreecommitdiff
path: root/scripts/macosx-build-dependencies.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/macosx-build-dependencies.sh')
-rwxr-xr-xscripts/macosx-build-dependencies.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/macosx-build-dependencies.sh b/scripts/macosx-build-dependencies.sh
index 6de5331..d06c90e 100755
--- a/scripts/macosx-build-dependencies.sh
+++ b/scripts/macosx-build-dependencies.sh
@@ -135,6 +135,7 @@ build_glew()
version=$1
echo "Building GLEW" $version "..."
cd $BASEDIR/src
+ rm -r glew-*
curl -LO http://downloads.sourceforge.net/project/glew/glew/$version/glew-$version.tgz
tar xzf glew-$version.tgz
cd glew-$version
@@ -152,6 +153,7 @@ build_opencsg()
curl -O http://www.opencsg.org/OpenCSG-$version.tar.gz
tar xzf OpenCSG-$version.tar.gz
cd OpenCSG-$version
+ patch -p1 < $OPENSCADDIR/patches/OpenCSG-$version-FBO.patch
patch -p1 < $OPENSCADDIR/patches/OpenCSG-$version-MacOSX-port.patch
MACOSX_DEPLOY_DIR=$DEPLOYDIR qmake -r CONFIG+="x86 x86_64"
make install
contact: Jan Huwald // Impressum