diff options
author | Johan van Selst <johans@FreeBSD.org> | 2007-10-11 19:32:20 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2007-10-11 19:32:20 +0000 |
commit | c2f042be13fb5f53c3aede42888dcee5e6930e76 (patch) | |
tree | b57d760c3fa3a0565673d02d79b0d390231e05cb /security/xmlsec1 | |
parent | 4cc65c7146f43d063eedfb24d6c009d39a094720 (diff) | |
download | ports-c2f042be13fb5f53c3aede42888dcee5e6930e76.tar.gz ports-c2f042be13fb5f53c3aede42888dcee5e6930e76.zip |
Notes
Diffstat (limited to 'security/xmlsec1')
-rw-r--r-- | security/xmlsec1/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/security/xmlsec1/Makefile b/security/xmlsec1/Makefile index 75b15009f08b..086fc51025fe 100644 --- a/security/xmlsec1/Makefile +++ b/security/xmlsec1/Makefile @@ -14,7 +14,7 @@ MASTER_SITES= http://www.aleksey.com/xmlsec/download/ \ ftp://ftp.xmlsoft.org/xmlsec/releases/ \ ftp://ftp.rpmfind.net/pub/XML/xmlsec/releases/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= johans@stack.nl COMMENT= XML Security Library RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config @@ -24,7 +24,6 @@ OPTIONS= GNUTLS "Enable GNUTLS support" off \ NSS "Enable Mozilla's NSS support" off USE_OPENSSL= yes -OPENSSL_CFLAGS+=-DXMLSEC_OPENSSL_097=1 -DXMLSEC_CRYPTO_OPENSSL=1 USE_GNOME= gnomehack lthack libxslt gnometarget GNU_CONFIGURE= yes USE_LDCONFIG= yes @@ -56,10 +55,6 @@ post-install: .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 700019 -BROKEN= Does not compile on FreeBSD >= 7.0 -.endif - .if defined(WITH_GNUTLS) CONFIGURE_ARGS+= --with-gnutls="${LOCALBASE}" LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls @@ -67,6 +62,8 @@ LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls CONFIGURE_ARGS+= --without-gnutls .endif +CONFIGURE_ARGS+= --with-openssl="${OPENSSLBASE}" + post-patch: @${REINPLACE_CMD} -e 's|src apps man docs|src apps man \$${DOCS}|g' \ -e 's|^confexecdir =.*$$|confexecdir = \$$(sysconfdir)|g' \ @@ -75,13 +72,16 @@ post-patch: @${REINPLACE_CMD} -e 's|-ldl"|"|' \ -e 's,with_nspr/include,with_nspr/include/nspr ${PTHREAD_CFLAGS},' \ -e 's,with_nss/include,with_nss/include/nss/nss,' \ + -e 's,with_nss/lib,with_nss/lib/nss,g' \ -e 's,\(CPPFLAGS="\$$NSS_CFLAGS\),\1 $$NSPR_CFLAGS,' \ + -e '/XMLSEC_CRYPTO_LIST=.*openssl/s,$$,\; CPPFLAGS="$$CPPFLAGS $$OPENSSL_CFLAGS",' \ -e 's,\(-lplc4\)",\1 ${PTHREAD_LIBS}",' \ + -e '/ test /s, == , = ,' \ ${WRKSRC}/${CONFIGURE_SCRIPT} .if defined(WITH_NSS) # Makeing the xmlsec1 executable multi-threaded to let load -lnss, # when needed. - @${REINPLACE_CMD} -e 's,^\(xmlsec1_LDADD = \)\\$$,\1 ${PTHREAD_LIBS}\\,' \ + @${REINPLACE_CMD} -e 's,^\(xmlsec1_LDADD = \)\\$$,\1 -L${LOCALBASE}/lib ${PTHREAD_LIBS}\\,' \ ${WRKSRC}/apps/Makefile.in CONFIGURE_ARGS+= --with-nss="${LOCALBASE}" --with-nspr="${LOCALBASE}" |