[41835] trunk/dports/devel/gpgme/Portfile
illogic-al at macports.org
illogic-al at macports.org
Mon Nov 10 17:47:07 PST 2008
Revision: 41835
http://trac.macports.org/changeset/41835
Author: illogic-al at macports.org
Date: 2008-11-10 17:47:07 -0800 (Mon, 10 Nov 2008)
Log Message:
-----------
Fix gpgme Portfile to work with +universal. Fixes ticket #17186.
Modified Paths:
--------------
trunk/dports/devel/gpgme/Portfile
Modified: trunk/dports/devel/gpgme/Portfile
===================================================================
--- trunk/dports/devel/gpgme/Portfile 2008-11-11 01:39:13 UTC (rev 41834)
+++ trunk/dports/devel/gpgme/Portfile 2008-11-11 01:47:07 UTC (rev 41835)
@@ -35,6 +35,12 @@
configure.args --with-gpg=${prefix}/bin/gpg --enable-static
+post-configure {
+ if {[variant_isset universal]} {
+ reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
+ }
+}
+
test.run yes
test.target check
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081110/fea164c7/attachment.html>
More information about the macports-changes
mailing list