[112720] trunk/dports/devel/lua-luafilesystem/Portfile
and.damore at macports.org
and.damore at macports.org
Tue Oct 29 15:51:20 PDT 2013
Revision: 112720
https://trac.macports.org/changeset/112720
Author: and.damore at macports.org
Date: 2013-10-29 15:51:20 -0700 (Tue, 29 Oct 2013)
Log Message:
-----------
port lua-luafilesystem: passing correct build settings as arguments, adding copmatibility define flag
Modified Paths:
--------------
trunk/dports/devel/lua-luafilesystem/Portfile
Modified: trunk/dports/devel/lua-luafilesystem/Portfile
===================================================================
--- trunk/dports/devel/lua-luafilesystem/Portfile 2013-10-29 22:41:46 UTC (rev 112719)
+++ trunk/dports/devel/lua-luafilesystem/Portfile 2013-10-29 22:51:20 UTC (rev 112720)
@@ -3,7 +3,7 @@
name lua-luafilesystem
version 1.5.0
-revision 4
+revision 5
license MIT
categories devel
platforms darwin
@@ -33,10 +33,11 @@
variant universal {}
-build.args CC="${configure.cc}"
+build.args CC="${configure.cc}" \
+ CFLAGS="${configure.cflags} -I${prefix}/include [get_canonical_archflags cc] -DLUA_COMPAT_MODULE" \
+ LDFLAGS="${configure.ldflags} -llua -lm [get_canonical_archflags ld]"
+
build.target lib
-build.env-append CFLAGS=" ${configure.cflags} [get_canonical_archflags cc]" \
- LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131029/dfbacbe8/attachment.html>
More information about the macports-changes
mailing list