[23142] trunk/dports/devel/libedit/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Mar 26 08:49:15 PDT 2007


Revision: 23142
          http://trac.macosforge.org/projects/macports/changeset/23142
Author:   pipping at macports.org
Date:     2007-03-26 08:49:15 -0700 (Mon, 26 Mar 2007)

Log Message:
-----------
 * depend on ncurses, fix linking against it (thanks to Chris Pickel)
 * remove broken variant readline
 * remove obsolete variant debug

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

Modified: trunk/dports/devel/libedit/Portfile
===================================================================
--- trunk/dports/devel/libedit/Portfile	2007-03-26 11:18:38 UTC (rev 23141)
+++ trunk/dports/devel/libedit/Portfile	2007-03-26 15:49:15 UTC (rev 23142)
@@ -20,17 +20,12 @@
 post-patch {
 	reinplace "s|/man/man|/share/man/man|" \
 		${worksrcpath}/Makefile.in
+        reinplace "s|-lncurses\"$|-L/opt/local/lib -lncurses\"|" \
+                ${worksrcpath}/configure
 }
 
 configure.args   --disable-readline
 
 destroot.destdir PREFIX=${destroot}${prefix}
 
-# By default, don't conflict with readline port.
-variant readline {
-	configure.args-delete --disable-readline
-}
-
-variant debug {
-	configure.args --enable-debug
-}
+depends_lib      port:ncurses

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070326/8266d289/attachment.html


More information about the macports-changes mailing list