[75082] trunk/dports/security/xmlsec
ryandesign at macports.org
ryandesign at macports.org
Fri Jan 14 17:11:07 PST 2011
Revision: 75082
http://trac.macports.org/changeset/75082
Author: ryandesign at macports.org
Date: 2011-01-14 17:11:00 -0800 (Fri, 14 Jan 2011)
Log Message:
-----------
xmlsec: update to 1.2.16, fix dependencies
Modified Paths:
--------------
trunk/dports/security/xmlsec/Portfile
Removed Paths:
-------------
trunk/dports/security/xmlsec/files/
Modified: trunk/dports/security/xmlsec/Portfile
===================================================================
--- trunk/dports/security/xmlsec/Portfile 2011-01-15 00:29:21 UTC (rev 75081)
+++ trunk/dports/security/xmlsec/Portfile 2011-01-15 01:11:00 UTC (rev 75082)
@@ -3,8 +3,7 @@
PortSystem 1.0
name xmlsec
-version 1.2.13
-revision 1
+version 1.2.16
categories security textproc devel
platforms darwin
maintainers nomaintainer
@@ -17,21 +16,48 @@
master_sites ${homepage}download/ \
ftp://ftp.xmlsoft.org/xmlsec/releases/
distname xmlsec1-${version}
-checksums md5 f8eb1ac14917f47bc35c265c9d76aaab \
- sha1 7953be1ba966fe7ca379839631299bd6963c418f \
- rmd160 4743dbf406cc63db60ececb3257967398a1416a6
-patchfiles patch-configure
+checksums sha1 ecd220b4498bbe212188fffd0aded92910d4bbd9 \
+ rmd160 15064b3c3ec84c87b271013cb3fa165972f0e2c4
+
+depends_build port:pkgconfig
+
depends_lib port:libxml2 \
port:libxslt \
- port:openssl \
port:libiconv \
+ port:libtool \
port:zlib
configure.args --with-libxml=${prefix} \
- --with-libxslt=${prefix} \
- --with-openssl=${prefix} \
- --mandir=${prefix}/share/man
+ --with-libxslt=${prefix}
+# Add gcrypt support.
+depends_lib-append port:libgcrypt
+configure.args-append --with-gcrypt=${prefix}
+
+# Add gnutls support.
+depends_lib-append port:gnutls
+# Do not specify the path to gnutls or it will fail to find it, because
+# it looks for the libgnutls-config script that gnutls no longer provides.
+# Do not remove the equals sign or it will fail trying to find the
+# libraries and headers in a directory called "yes".
+configure.args-append --with-gnutls=
+
+# Add nss and nspr support.
+depends_lib-append port:nss port:nspr
+configure.args-append --with-nss=${prefix} --with-nspr=${prefix}
+configure.ldflags-append -L${prefix}/lib/nss -L${prefix}/lib/nspr
+# nss is not universal.
+universal_variant no
+
+# Add openssl support.
+depends_lib-append port:openssl
+# Do not specify the path to openssl or it will try to link with the
+# static library instead of the dynamic one, and it will fail when
+# openssl is installed universal.
+# Do not remove the equals sign or it will fail trying to find the
+# libraries and headers in a directory called "yes".
+configure.args-append --with-openssl=
+
test.run yes
test.target check
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110114/4a636284/attachment.html>
More information about the macports-changes
mailing list