[77548] trunk/dports/lang/gcl

jmr at macports.org jmr at macports.org
Sun Apr 3 00:04:31 PDT 2011


Revision: 77548
          http://trac.macports.org/changeset/77548
Author:   jmr at macports.org
Date:     2011-04-03 00:04:29 -0700 (Sun, 03 Apr 2011)
Log Message:
-----------
gcl: fix detection of external gmp

Modified Paths:
--------------
    trunk/dports/lang/gcl/Portfile

Added Paths:
-----------
    trunk/dports/lang/gcl/files/
    trunk/dports/lang/gcl/files/configure.diff

Modified: trunk/dports/lang/gcl/Portfile
===================================================================
--- trunk/dports/lang/gcl/Portfile	2011-04-03 06:38:10 UTC (rev 77547)
+++ trunk/dports/lang/gcl/Portfile	2011-04-03 07:04:29 UTC (rev 77548)
@@ -22,7 +22,9 @@
 
 depends_lib	port:gettext port:readline port:gmp
 
-patch 		{
+patchfiles  configure.diff
+
+post-patch 		{
 	reinplace "s|/sw|${prefix}|g" 			\
 			${worksrcpath}/h/powerpc-macosx.defs
 	reinplace "s|/usr/local/lib|${prefix}/share|g"	\

Added: trunk/dports/lang/gcl/files/configure.diff
===================================================================
--- trunk/dports/lang/gcl/files/configure.diff	                        (rev 0)
+++ trunk/dports/lang/gcl/files/configure.diff	2011-04-03 07:04:29 UTC (rev 77548)
@@ -0,0 +1,11 @@
+--- configure	2010-12-31 15:22:50.000000000 +0100
++++ configure	2010-12-31 15:24:19.000000000 +0100
+@@ -1918,7 +1918,7 @@
+ #include "confdefs.h"
+ #include <gmp.h>
+ 				    int main() {
+-				    #if __GNU_MP_VERSION == 4
++				    #if __GNU_MP_VERSION >= 4
+ 					return 0;
+ 				    #else
+ 					return -1;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110403/7bd1f078/attachment.html>


More information about the macports-changes mailing list