summaryrefslogtreecommitdiff
path: root/scripts/linux-build-dependencies.sh
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-07-24 02:39:00 (GMT)
committerMarius Kintel <marius@kintel.net>2012-07-24 02:39:00 (GMT)
commit23ad640f7a25de9b38a4863d78b7579b3b233e2c (patch)
tree1563edb2f34c4764c114a034c897f60d06a86e0b /scripts/linux-build-dependencies.sh
parent54bf1cf7d9e93c37d61b574973c20677ad389299 (diff)
parent36d2515282ffc2909f650cf5a4c3b5af34cc6599 (diff)
Merge pull request #157 from openscad/freebsdbuilders
Freebsdbuilders
Diffstat (limited to 'scripts/linux-build-dependencies.sh')
-rwxr-xr-xscripts/linux-build-dependencies.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/linux-build-dependencies.sh b/scripts/linux-build-dependencies.sh
index 36dc2ee..bc1e74d 100755
--- a/scripts/linux-build-dependencies.sh
+++ b/scripts/linux-build-dependencies.sh
@@ -188,12 +188,18 @@ build_opencsg()
sed -ibak s/"\-lXmu"/"\-L\/usr\/lib64\/libXmu.so.6"/ src/Makefile
fi
+ if [ `uname | grep FreeBSD` ]; then
+ sed -ibak s/X11R6/local/g src/Makefile
+ fi
+
if [ "`command -v qmake-qt4`" ]; then
qmake-qt4
else
qmake
fi
+
make
+
cp -av lib/* $DEPLOYDIR/lib
cp -av include/* $DEPLOYDIR/include
}
@@ -235,7 +241,7 @@ if [ ! $NUMCPU ]; then
fi
if [ ! -d $BASEDIR/bin ]; then
- mkdir --parents $BASEDIR/bin
+ mkdir -p $BASEDIR/bin
fi
echo "Using basedir:" $BASEDIR
contact: Jan Huwald // Impressum