[31399] trunk/dports/shells/zsh-devel/Portfile

nox at macports.org nox at macports.org
Thu Nov 22 05:24:44 PST 2007


Revision: 31399
          http://trac.macosforge.org/projects/macports/changeset/31399
Author:   nox at macports.org
Date:     2007-11-22 05:24:42 -0800 (Thu, 22 Nov 2007)

Log Message:
-----------
zsh-devel:
 * Now uses the ncurses.h header (closes #13359).
 * Fixed universal support.

Modified Paths:
--------------
    trunk/dports/shells/zsh-devel/Portfile

Modified: trunk/dports/shells/zsh-devel/Portfile
===================================================================
--- trunk/dports/shells/zsh-devel/Portfile	2007-11-22 10:43:34 UTC (rev 31398)
+++ trunk/dports/shells/zsh-devel/Portfile	2007-11-22 13:24:42 UTC (rev 31399)
@@ -56,6 +56,15 @@
 depends_lib     port:libiconv \
                 port:ncurses
 
+post-patch {
+    # Fixes #13359. May need to be removed on upstream update.
+    reinplace "s/curses\\.h/ncurses.h/" \
+        ${worksrcpath}/Src/Modules/termcap.c \
+        ${worksrcpath}/Src/Modules/terminfo.c
+}
+
+configure.universal_ldflags-append      -isysroot ${sysroot}
+
 configure.args  --mandir=${prefix}/share/man \
                 --infodir=${prefix}/share/info \
                 --with-curses-terminfo \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071122/9f7779c7/attachment.html


More information about the macports-changes mailing list