[104644] trunk/dports/devel/lua-lpeg/Portfile
and.damore at macports.org
and.damore at macports.org
Sat Mar 30 08:59:10 PDT 2013
Revision: 104644
https://trac.macports.org/changeset/104644
Author: and.damore at macports.org
Date: 2013-03-30 08:59:10 -0700 (Sat, 30 Mar 2013)
Log Message:
-----------
port lua-lpeg: moving the command substitution to makefile
Modified Paths:
--------------
trunk/dports/devel/lua-lpeg/Portfile
Modified: trunk/dports/devel/lua-lpeg/Portfile
===================================================================
--- trunk/dports/devel/lua-lpeg/Portfile 2013-03-30 14:14:12 UTC (rev 104643)
+++ trunk/dports/devel/lua-lpeg/Portfile 2013-03-30 15:59:10 UTC (rev 104644)
@@ -27,8 +27,8 @@
patchfiles patch-makefile.diff
post-patch {
- reinplace "s|%%CFLAGS%%|${configure.cflags} [exec ${prefix}/bin/pkg-config lua --cflags]|" ${worksrcpath}/makefile
- reinplace "s|%%LDFLAGS%%|${configure.ldflags} [exec ${prefix}/bin/pkg-config lua --libs]|" ${worksrcpath}/makefile
+ reinplace "s|%%CFLAGS%%|${configure.cflags} `${prefix}/bin/pkg-config lua --cflags`|" ${worksrcpath}/makefile
+ reinplace "s|%%LDFLAGS%%|${configure.ldflags} `${prefix}/bin/pkg-config lua --libs`|" ${worksrcpath}/makefile
reinplace "s|/usr/bin/env lua5.1|${prefix}/bin/lua|" ${worksrcpath}/test.lua
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130330/f3a30576/attachment-0001.html>
More information about the macports-changes
mailing list