diff options
Diffstat (limited to 'security/gnutls/Makefile')
-rw-r--r-- | security/gnutls/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile index 2e17e55e8ae6..b62c379b6e2a 100644 --- a/security/gnutls/Makefile +++ b/security/gnutls/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnutls PORTVERSION= 0.8.10 +PORTREVISION= 1 CATEGORIES= security net MASTER_SITES= ${MASTER_SITE_GNUPG} \ http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \ @@ -17,9 +18,7 @@ MASTER_SITE_SUBDIR= alpha/gnutls MAINTAINER= sergei@kolobov.com COMMENT= GNU Transport Layer Security library -LIB_DEPENDS= gcrypt.6:${PORTSDIR}/security/libgcrypt \ - tasn1.2:${PORTSDIR}/security/libtasn1 \ - opencdk.6:${PORTSDIR}/security/opencdk +LIB_DEPENDS= gcrypt.6:${PORTSDIR}/security/libgcrypt USE_LIBTOOL= yes INSTALLS_SHLIB= yes @@ -27,6 +26,19 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --with-included-lzo + +.if defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.2) +LIB_DEPENDS+= tasn1.2:${PORTSDIR}/security/libtasn1 +.else +CONFIGURE_ARGS+= --with-included-libtasn1 +.endif + +.if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.6) +LIB_DEPENDS+= opencdk.6:${PORTSDIR}/security/opencdk +.else +CONFIGURE_ARGS+= --disable-openpgp-authentication +.endif DOCS= AUTHORS NEWS README THANKS doc/tex/*.ps EXAMPLES= doc/examples/*.c |