aboutsummaryrefslogtreecommitdiff
path: root/security/gnutls-devel
diff options
context:
space:
mode:
authorTom McLaughlin <tmclaugh@FreeBSD.org>2006-05-17 16:42:13 +0000
committerTom McLaughlin <tmclaugh@FreeBSD.org>2006-05-17 16:42:13 +0000
commite69e81411d7c137c45f7507f33e9784c2b0b1d84 (patch)
treebb751db6989428cca7ac01a048911c4c05163e64 /security/gnutls-devel
parent898ac018fb3964580590d687456bc06f7287b261 (diff)
downloadports-e69e81411d7c137c45f7507f33e9784c2b0b1d84.tar.gz
ports-e69e81411d7c137c45f7507f33e9784c2b0b1d84.zip
Notes
Diffstat (limited to 'security/gnutls-devel')
-rw-r--r--security/gnutls-devel/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/security/gnutls-devel/Makefile b/security/gnutls-devel/Makefile
index 45c366fea575..d63636367543 100644
--- a/security/gnutls-devel/Makefile
+++ b/security/gnutls-devel/Makefile
@@ -23,14 +23,6 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
LIB_DEPENDS= gcrypt.13:${PORTSDIR}/security/libgcrypt \
gpg-error.2:${PORTSDIR}/security/libgpg-error
-.if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.8)
-LIB_DEPENDS+= opencdk.8:${PORTSDIR}/security/opencdk
-.endif
-
-.if defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.3)
-LIB_DEPENDS+= tasn1.3:${PORTSDIR}/security/libtasn1
-.endif
-
CONFLICTS= gnutls-[0-9]*
USE_BZIP2= yes
@@ -47,6 +39,15 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-included-lzo --disable-static --disable-nls
MANCOMPRESSED= no
+.include <bsd.port.pre.mk>
+.if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.8)
+LIB_DEPENDS+= opencdk.8:${PORTSDIR}/security/opencdk
+.endif
+
+.if defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.3)
+LIB_DEPENDS+= tasn1.2:${PORTSDIR}/security/libtasn1
+.endif
+
.if !defined(NOPORTDOCS)
PORTDOCS= AUTHORS NEWS README THANKS
.endif
@@ -67,4 +68,4 @@ post-install:
.endif
.include "Makefile.man"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>