[52496] trunk/dports/devel/pcre/Portfile

nox at macports.org nox at macports.org
Wed Jun 17 10:59:11 PDT 2009


Revision: 52496
          http://trac.macports.org/changeset/52496
Author:   nox at macports.org
Date:     2009-06-17 10:59:11 -0700 (Wed, 17 Jun 2009)
Log Message:
-----------
pcre: Tentatively fix #19984 and #18448 by adding -lncurses to LDFLAGS.

Modified Paths:
--------------
    trunk/dports/devel/pcre/Portfile

Modified: trunk/dports/devel/pcre/Portfile
===================================================================
--- trunk/dports/devel/pcre/Portfile	2009-06-17 17:55:24 UTC (rev 52495)
+++ trunk/dports/devel/pcre/Portfile	2009-06-17 17:59:11 UTC (rev 52496)
@@ -29,7 +29,10 @@
                 sha1    a4a34f71313ac042455355c01ad851791971a7fa \
                 rmd160  e7ccae1fe3d2cf3ff3264c6e6ad3486c64fe1cec
 
-depends_lib     port:readline port:zlib port:bzip2
+depends_lib     port:readline \
+                port:zlib \
+                port:ncurses \
+                port:bzip2
 
 configure.args  --docdir=${prefix}/share/doc/${name}-${version} \
                 --enable-unicode-properties \
@@ -37,6 +40,10 @@
                 --enable-pcregrep-libz \
                 --enable-pcregrep-libbz2
 
+foreach arch ${universal_archs} {
+    lappend merger_configure_ldflags(${arch}) -lncurses
+}
+
 post-patch {
     if {![variant_isset doc]} {
         reinplace -E "/^install-data-am:/s/install-dist_htmlDATA//" ${worksrcpath}/Makefile.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090617/9786651a/attachment.html>


More information about the macports-changes mailing list