here is my patch for build.sh:
Code: Select all
# HG changeset patch
# User stephanmg
# Date 1402038607 -7200
# Fri Jun 06 09:10:07 2014 +0200
# Node ID 8bdb17f807ee57c14d2b12fe433d8ec55021d285
# Parent 44d6ec5724f4c8b1f22e6e1c7f05168c5bce2bae
Fix for build.sh on Mac OSX for glibtoolize/libtoolize with MacPorts.
diff -r 44d6ec5724f4 -r 8bdb17f807ee build.sh
--- a/build.sh Wed Jul 31 11:19:44 2013 -0400
+++ b/build.sh Fri Jun 06 09:10:07 2014 +0200
@@ -2,7 +2,7 @@
# how to build from just the cvs sources
ltarg="-i"
-if test -f /usr/bin/glibtoolize ; then
+if test -f "`which glibtoolize`" ; then
ltver=`glibtoolize --version | sed -n '1s/.* \([0-9]\).*/\1/p'`
if test "${ltver}" = 1 ; then ltarg="" ; fi
echo "glibtoolize -c -f $ltarg"
I pushed it already via hg to the remote repository but this fails because it's a read-only repository - just letting you know the changes, maybe you wish to incorporate it.
Best,
Stephan