[Freeswitch-svn] [commit] r13898 - freeswitch/trunk/build

FreeSWITCH SVN intralanman at freeswitch.org
Mon Jun 22 12:40:30 PDT 2009


Author: intralanman
Date: Mon Jun 22 14:40:30 2009
New Revision: 13898

Log:
[temporary] bsd-friendly hack

Modified:
   freeswitch/trunk/build/buildopal.sh

Modified: freeswitch/trunk/build/buildopal.sh
==============================================================================
--- freeswitch/trunk/build/buildopal.sh	(original)
+++ freeswitch/trunk/build/buildopal.sh	Mon Jun 22 14:40:30 2009
@@ -1,17 +1,20 @@
 #!/bin/sh
+uname -a | grep -qi bsd && MAKE=gmake || MAKE=make
 FS_DIR=`pwd`
+
 cd /root
 svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk ptlib
 cd ptlib
 ./configure --prefix=/usr
-make
-make install
+${MAKE}
+${MAKE} install
+
 cd ..
 svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/branches/v3_6 opal 
 cd opal
 export PKG_CONFIG_PATH=/usr/lib/pkgconfig 
 ./configure --prefix=/usr
-make
-make install
+${MAKE}
+${MAKE} install
 cd ${FS_DIR}
-make mod_opal-install
+${MAKE} mod_opal-install



More information about the Freeswitch-svn mailing list