[79311] trunk/dports/science/triangle/Portfile

jmr at macports.org jmr at macports.org
Wed Jun 8 18:43:11 PDT 2011


Revision: 79311
          http://trac.macports.org/changeset/79311
Author:   jmr at macports.org
Date:     2011-06-08 18:43:11 -0700 (Wed, 08 Jun 2011)
Log Message:
-----------
triangle: use build_arch (#25060)

Modified Paths:
--------------
    trunk/dports/science/triangle/Portfile

Modified: trunk/dports/science/triangle/Portfile
===================================================================
--- trunk/dports/science/triangle/Portfile	2011-06-09 01:43:04 UTC (rev 79310)
+++ trunk/dports/science/triangle/Portfile	2011-06-09 01:43:11 UTC (rev 79311)
@@ -32,6 +32,7 @@
     reinplace "s/-DLINUX//" ${worksrcpath}/makefile
     reinplace "s|/usr/X11R6|${prefix}|g" ${worksrcpath}/makefile
     reinplace "s|CC = cc|CC = ${configure.cc}|g" ${worksrcpath}/makefile
+    reinplace "s|CSWITCHES = -O|CSWITCHES = ${configure.cflags} ${configure.cc_archflags}|" ${worksrcpath}/makefile
 }
 
 depends_lib		port:xorg-libX11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110608/ba9d75ef/attachment-0001.html>


More information about the macports-changes mailing list