[81896] trunk/dports/archivers/ecm/Portfile

jmr at macports.org jmr at macports.org
Sat Aug 6 05:50:20 PDT 2011


Revision: 81896
          http://trac.macports.org/changeset/81896
Author:   jmr at macports.org
Date:     2011-08-06 05:50:18 -0700 (Sat, 06 Aug 2011)
Log Message:
-----------
ecm: fix build by re-adding disabling of configure phase that was removed in r28963, and use correct compiler and arch flags

Revision Links:
--------------
    http://trac.macports.org/changeset/28963

Modified Paths:
--------------
    trunk/dports/archivers/ecm/Portfile

Modified: trunk/dports/archivers/ecm/Portfile
===================================================================
--- trunk/dports/archivers/ecm/Portfile	2011-08-06 12:42:09 UTC (rev 81895)
+++ trunk/dports/archivers/ecm/Portfile	2011-08-06 12:50:18 UTC (rev 81896)
@@ -29,10 +29,12 @@
     file mkdir ${worksrcpath}
 }
 
+use_configure   no
+
 build {
-    foreach {bin} {ecm unecm} {
+    foreach bin {ecm unecm} {
         system "cd ${worksrcpath} && \
-            gcc [join ${configure.cflags} " "] ${bin}.c -o ${bin}"
+            ${configure.cc} ${configure.cflags} [get_canonical_archflags] ${bin}.c -o ${bin}"
     }
 }
 
@@ -49,4 +51,3 @@
 livecheck.type  regex
 livecheck.url   ${homepage}
 livecheck.regex "ECM v(\\d+(?:\\.\\d+)*)"
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110806/f8261a1e/attachment.html>


More information about the macports-changes mailing list