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

mcalhoun at macports.org mcalhoun at macports.org
Sun Mar 29 21:25:40 PDT 2009


Revision: 48849
          http://trac.macports.org/changeset/48849
Author:   mcalhoun at macports.org
Date:     2009-03-29 21:25:39 -0700 (Sun, 29 Mar 2009)
Log Message:
-----------
lua: Ensure correct compiler is used.

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

Modified: trunk/dports/lang/lua/Portfile
===================================================================
--- trunk/dports/lang/lua/Portfile	2009-03-30 04:09:53 UTC (rev 48848)
+++ trunk/dports/lang/lua/Portfile	2009-03-30 04:25:39 UTC (rev 48849)
@@ -36,6 +36,7 @@
 configure {
 	reinplace -E "/^MYLDFLAGS=/s|\$| ${configure.ldflags}|" ${worksrcpath}/src/Makefile
 	reinplace -E "/^CFLAGS=/s|\$| ${configure.cflags} ${configure.cppflags}|" ${worksrcpath}/src/Makefile
+	reinplace "s|CC= .*\$|CC= ${configure.cc}|" ${worksrcpath}/src/Makefile
 }
 
 use_parallel_build  yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090329/819ed6e8/attachment.html>


More information about the macports-changes mailing list