[71343] trunk/dports/devel/qca/Portfile

michaelld at macports.org michaelld at macports.org
Thu Sep 9 12:22:13 PDT 2010


Revision: 71343
          http://trac.macports.org/changeset/71343
Author:   michaelld at macports.org
Date:     2010-09-09 12:22:09 -0700 (Thu, 09 Sep 2010)
Log Message:
-----------
Fix for ticket #26026: Remove standard universal configure arg.
Create real universal install on 10.6 (i386 and x86_64, not i386 and ppc).

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

Modified: trunk/dports/devel/qca/Portfile
===================================================================
--- trunk/dports/devel/qca/Portfile	2010-09-09 18:09:08 UTC (rev 71342)
+++ trunk/dports/devel/qca/Portfile	2010-09-09 19:22:09 UTC (rev 71343)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 name                qca
 version             2.0.2
-revision            4
+revision            5
 set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          devel crypto security
 maintainers         michaelld openmaintainer
@@ -97,7 +97,18 @@
     }
 }
 
+platform darwin 10 {
+    post-patch {
+        # have configure use X86_64, not PPC,
+        # as the other half of "universal"
+        reinplace "s at ppc@x86_64 at g" ${worksrcpath}/configure
+    }
+}
+
 variant universal {
+    # remove from universal configure flags
+    configure.universal_args-delete --disable-dependency-tracking
+    # and add in the one used by qmake
     configure.universal_args-append --universal
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100909/6058acd1/attachment.html>


More information about the macports-changes mailing list