[63567] trunk/dports/security/xml-security-c/Portfile

scantor at macports.org scantor at macports.org
Mon Feb 8 18:55:36 PST 2010


Revision: 63567
          http://trac.macports.org/changeset/63567
Author:   scantor at macports.org
Date:     2010-02-08 18:55:35 -0800 (Mon, 08 Feb 2010)
Log Message:
-----------
Workaround for universal variant until libtool can be updated

Modified Paths:
--------------
    trunk/dports/security/xml-security-c/Portfile

Modified: trunk/dports/security/xml-security-c/Portfile
===================================================================
--- trunk/dports/security/xml-security-c/Portfile	2010-02-09 01:17:36 UTC (rev 63566)
+++ trunk/dports/security/xml-security-c/Portfile	2010-02-09 02:55:35 UTC (rev 63567)
@@ -22,12 +22,20 @@
 master_sites        http://santuario.apache.org/dist/c-library
 checksums           sha1 e51d3dca7f32cfcc2090d4d20cf8a1d032d95d79
 
-configure.args      --disable-static \
-                    --without-xalan \
+configure.args      --without-xalan \
                     --with-xerces=${prefix} \
                     --with-openssl=${prefix}
 
+variant universal {
+    depends_lib-append  port:libtool
+}
 
+post-configure {
+    if {[variant_isset universal]} {
+        file copy -force ${prefix}/bin/glibtool ${worksrcpath}/libtool
+    }
+}
+
 livecheck.type      regex
 livecheck.url       ${master_sites}
 livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100208/6e58f747/attachment.html>


More information about the macports-changes mailing list