[82572] trunk/dports/devel/gpgme/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Aug 15 13:44:02 PDT 2011


Revision: 82572
          http://trac.macports.org/changeset/82572
Author:   ryandesign at macports.org
Date:     2011-08-15 13:44:02 -0700 (Mon, 15 Aug 2011)
Log Message:
-----------
gpgme: simplify setting archflags

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

Modified: trunk/dports/devel/gpgme/Portfile
===================================================================
--- trunk/dports/devel/gpgme/Portfile	2011-08-15 20:43:17 UTC (rev 82571)
+++ trunk/dports/devel/gpgme/Portfile	2011-08-15 20:44:02 UTC (rev 82572)
@@ -39,12 +39,7 @@
 configure.args      --with-gpg=${prefix}/bin/gpg --enable-static
 
 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
 }
 
 test.run    yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110815/2b933e64/attachment-0001.html>


More information about the macports-changes mailing list