Revision
80118
Author
jeremyhu@macports.org
Date
2011-07-04 11:38:30 -0700 (Mon, 04 Jul 2011)

Log Message

ispell: Fix building in SUSv4

Modified Paths

Diff

Modified: trunk/dports/textproc/ispell/Portfile (80117 => 80118)


--- 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