[80118] trunk/dports/textproc/ispell/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Jul 4 11:38:31 PDT 2011


Revision: 80118
          http://trac.macports.org/changeset/80118
Author:   jeremyhu at macports.org
Date:     2011-07-04 11:38:30 -0700 (Mon, 04 Jul 2011)
Log Message:
-----------
ispell: Fix building in SUSv4

Modified Paths:
--------------
    trunk/dports/textproc/ispell/Portfile

Modified: trunk/dports/textproc/ispell/Portfile
===================================================================
--- trunk/dports/textproc/ispell/Portfile	2011-07-04 17:24:54 UTC (rev 80117)
+++ trunk/dports/textproc/ispell/Portfile	2011-07-04 18:38:30 UTC (rev 80118)
@@ -17,6 +17,11 @@
 
 depends_lib     port:ncurses
 
+post-patch {
+            # ispell's getline is not the POSIX getline
+            reinplace "s|getline|_ispell_getline|g" ${worksrcpath}/correct.c
+}
+
 configure {
             xinstall -c -m 0744 -W ${worksrcpath} local.h.macos local.h
             reinplace s|/man/|/share/man/|g ${worksrcpath}/local.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110704/67d54af1/attachment.html>


More information about the macports-changes mailing list