On Aug 25, 2012, at 08:11, [email protected] wrote: > Revision: 97047 > https://trac.macports.org/changeset/97047 > Author: [email protected] > 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
The problem is not related to the OS version; it's because the version of the automake port in MacPorts is >= 1.12. Fixed for Lion and earlier in r97084. _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo/macports-dev
