[97047] trunk/dports/math/crfsuite

hum at macports.org hum at macports.org
Sat Aug 25 06:11:33 PDT 2012


Revision: 97047
          https://trac.macports.org/changeset/97047
Author:   hum at macports.org
Date:     2012-08-25 06:11:32 -0700 (Sat, 25 Aug 2012)
Log Message:
-----------
crfsuite: remove AM_C_PROTOTYPES from configure.in to fix build for Mountain Lion (OS X 10.8).

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

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

Modified: trunk/dports/math/crfsuite/Portfile
===================================================================
--- trunk/dports/math/crfsuite/Portfile	2012-08-25 13:05:49 UTC (rev 97046)
+++ trunk/dports/math/crfsuite/Portfile	2012-08-25 13:11:32 UTC (rev 97047)
@@ -26,6 +26,10 @@
 
 patchfiles          patch-autogen.sh.diff
 
+if {${os.major} >= 12 && ${os.platform} == "darwin"} {
+    patchfiles-append patch-configure.in.diff
+}
+
 pre-configure {
     system -W ${worksrcpath} "./autogen.sh"
 }

Added: trunk/dports/math/crfsuite/files/patch-configure.in.diff
===================================================================
--- trunk/dports/math/crfsuite/files/patch-configure.in.diff	                        (rev 0)
+++ trunk/dports/math/crfsuite/files/patch-configure.in.diff	2012-08-25 13:11:32 UTC (rev 97047)
@@ -0,0 +1,10 @@
+--- configure.in.orig	2011-08-11 12:02:41.000000000 +0900
++++ configure.in	2012-08-25 21:35:30.000000000 +0900
+@@ -30,7 +30,6 @@
+ AM_INIT_AUTOMAKE(crfsuite, 0.12)
+ AC_CONFIG_HEADERS(config.h)
+ AM_MAINTAINER_MODE
+-AM_C_PROTOTYPES
+ 
+ 
+ dnl ------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120825/37150174/attachment-0001.html>


More information about the macports-changes mailing list