diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-07-18 07:23:37 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-07-18 07:23:37 (GMT) |
commit | d30775a5c0c2c08b63786cf56ef6955cfa61adaa (patch) | |
tree | 2c31e5e0c3d3875cb624b012fd02ba906d430c8b /scripts/linux-build-dependencies.sh | |
parent | 821c064f3e6d624152b49f2297b750bdc53f3a5f (diff) |
create bsd build scripts for freebsd 9.
Diffstat (limited to 'scripts/linux-build-dependencies.sh')
-rwxr-xr-x | scripts/linux-build-dependencies.sh | 8 |
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 |