[23008] trunk/dports/lang/lua/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 21 13:30:55 PDT 2007


Revision: 23008
          http://trac.macosforge.org/projects/macports/changeset/23008
Author:   pmq at macports.org
Date:     2007-03-21 13:30:54 -0700 (Wed, 21 Mar 2007)

Log Message:
-----------
Really use the MacPorts readline.
Submitted by: pipping@
Approved by: pmq@

Modified Paths:
--------------
    trunk/dports/lang/lua/Portfile

Modified: trunk/dports/lang/lua/Portfile
===================================================================
--- trunk/dports/lang/lua/Portfile	2007-03-21 19:35:52 UTC (rev 23007)
+++ trunk/dports/lang/lua/Portfile	2007-03-21 20:30:54 UTC (rev 23008)
@@ -4,7 +4,7 @@
 
 name                    lua
 version                 5.1.1
-revision		1
+revision		2
 categories              lang
 platforms               darwin
 maintainers             anselmg at t-online.de pmq at macports.org
@@ -31,6 +31,8 @@
 post-patch {
 	reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile
 	reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/src/luaconf.h
+	# to complement the use_readline patch	
+	reinplace "s|MYLDFLAGS=|MYLDFLAGS=-L${prefix}/lib|" ${worksrcpath}/src/Makefile
 }
 
 destroot.target	install INSTALL_TOP=${destroot}/${prefix}

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


More information about the macports-changes mailing list