[82574] trunk/dports/devel/pth/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Aug 15 13:49:00 PDT 2011


Revision: 82574
          http://trac.macports.org/changeset/82574
Author:   ryandesign at macports.org
Date:     2011-08-15 13:49:00 -0700 (Mon, 15 Aug 2011)
Log Message:
-----------
pth: simplify setting archflags

Modified Paths:
--------------
    trunk/dports/devel/pth/Portfile

Modified: trunk/dports/devel/pth/Portfile
===================================================================
--- trunk/dports/devel/pth/Portfile	2011-08-15 20:46:37 UTC (rev 82573)
+++ trunk/dports/devel/pth/Portfile	2011-08-15 20:49:00 UTC (rev 82574)
@@ -28,12 +28,7 @@
 configure.args      --mandir=${prefix}/share/man
 
 post-configure {
-    if {[variant_isset universal]} {
-        set archflags ${configure.universal_ldflags}
-    } else {
-        set archflags ${configure.ld_archflags}
-    }
-    reinplace "s|CC -dynamiclib|CC -dynamiclib ${archflags}|g" ${worksrcpath}/libtool
+    reinplace "s|CC -dynamiclib|CC -dynamiclib [get_canonical_archflags]|g" ${worksrcpath}/libtool
 }
 
 use_parallel_build  no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110815/90cab312/attachment.html>


More information about the macports-changes mailing list