[89458] trunk/dports/math/bayon

hum at macports.org hum at macports.org
Mon Jan 30 06:48:50 PST 2012


Revision: 89458
          http://trac.macports.org/changeset/89458
Author:   hum at macports.org
Date:     2012-01-30 06:48:47 -0800 (Mon, 30 Jan 2012)
Log Message:
-----------
bayon: add a patch for configure to fix build on Snow Leopard.

Modified Paths:
--------------
    trunk/dports/math/bayon/Portfile

Added Paths:
-----------
    trunk/dports/math/bayon/files/patch-configure.diff

Modified: trunk/dports/math/bayon/Portfile
===================================================================
--- trunk/dports/math/bayon/Portfile	2012-01-30 13:51:41 UTC (rev 89457)
+++ trunk/dports/math/bayon/Portfile	2012-01-30 14:48:47 UTC (rev 89458)
@@ -20,7 +20,8 @@
 checksums           rmd160  2f0557a96e992651fb705172a6ed4b4da09209c1 \
                     sha256  1e8fc325453ea928c924bca1dcbc54fb2fde54ec90537a4ff6c6286778872b22
 
-patchfiles          patch-classifier.diff
+patchfiles          patch-classifier.diff \
+                    patch-configure.diff
 
 depends_lib         port:google-sparsehash \
                     port:google-test

Added: trunk/dports/math/bayon/files/patch-configure.diff
===================================================================
--- trunk/dports/math/bayon/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/math/bayon/files/patch-configure.diff	2012-01-30 14:48:47 UTC (rev 89458)
@@ -0,0 +1,24 @@
+--- configure.orig	2010-09-15 16:56:42.000000000 +0900
++++ configure	2012-01-30 23:43:29.000000000 +0900
+@@ -2032,16 +2032,16 @@
+ # Building paths
+ PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
+ PATH="$PATH:/usr/ccs/bin:/usr/ucb:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb"
+-CPATH="$HOME/include:/usr/local/include:$CPATH"
+-LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
+-LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
++CPATH="$CPATH"
++LIBRARY_PATH="$LIBRARY_PATH"
++LD_LIBRARY_PATH="$LD_LIBRARY_PATH"
+ export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH
+ 
+ # Building flags
+ MYCFLAGS="-Wall -fPIC -O3"
+-MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include"
++MYCPPFLAGS="-I. -I\$(INCLUDEDIR)"
+ MYCPPFLAGS="$MYCPPFLAGS -D_GNU_SOURCE=1"
+-MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib"
++MYLDFLAGS="-L. -L\$(LIBDIR)"
+ MYTESTLDFLAGS="-lgtest -lpthread"
+ MYCMDLDFLAGS=""
+ MYRUNPATH="\$(LIBDIR)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120130/5f45d5d6/attachment.html>


More information about the macports-changes mailing list