[44035] trunk/dports/benchmarks/nbench-byte/Portfile

jmr at macports.org jmr at macports.org
Fri Dec 19 11:20:57 PST 2008


Revision: 44035
          http://trac.macports.org/changeset/44035
Author:   jmr at macports.org
Date:     2008-12-19 11:20:57 -0800 (Fri, 19 Dec 2008)
Log Message:
-----------
nbench-byte: make use of configure.cc

Modified Paths:
--------------
    trunk/dports/benchmarks/nbench-byte/Portfile

Modified: trunk/dports/benchmarks/nbench-byte/Portfile
===================================================================
--- trunk/dports/benchmarks/nbench-byte/Portfile	2008-12-19 19:18:57 UTC (rev 44034)
+++ trunk/dports/benchmarks/nbench-byte/Portfile	2008-12-19 19:20:57 UTC (rev 44035)
@@ -22,6 +22,8 @@
 patchfiles       patch-Makefile.diff
 use_configure    no
 build.target
+build.args       CC=${configure.cc}
+
 destroot {
     xinstall -m 555 ${worksrcpath}/nbench ${destroot}${prefix}/bin
     file mkdir -p ${destroot}${prefix}/share/nbench
@@ -44,12 +46,5 @@
     build.env-append CFLAGS="-m64"
 }
 
-platform darwin 8 {
-    build.args-append CC=/usr/bin/gcc-4.0
-}
-platform darwin 9 {
-    build.args-append CC=/usr/bin/gcc-4.0
-}
-
 livecheck.check regex
 livecheck.regex {nbench-byte-([0-9.]+)\.tar\.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081219/d0d4299b/attachment.html>


More information about the macports-changes mailing list