summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-08-28 15:38:18 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-08-28 15:38:18 +0000
commit7856e867fc3cbf6c0bd634372727094d3af4c534 (patch)
treebc04a2cb1b344b79fa60f11cb4d08c710c9a3090 /dns
parentUpdate to 0.4 (diff)
- use hook for bsd.openssl.mk
Notes
Notes: svn path=/head/; revision=87906
Diffstat (limited to 'dns')
-rw-r--r--dns/bind9-dlz/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/dns/bind9-dlz/Makefile b/dns/bind9-dlz/Makefile
index 7ff6dff77139..4f4735d41b07 100644
--- a/dns/bind9-dlz/Makefile
+++ b/dns/bind9-dlz/Makefile
@@ -62,6 +62,14 @@ CONFIGURE_ARGS+= --with-dlz-filesystem
CONFIGURE_ARGS+= --with-dlz-stub
.endif
+.if defined(WITH_OPENSSL)
+.if !defined(WITHOUT_OPENSSL)
+USE_OPENSSL= yes
+CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
+.endif
+.endif
+
+
WRKSRC= ${WRKDIR}/bind-${ISCVERSION}
EXTRA_PATCHES= ${WRKDIR}/dlz.patch
PLIST= ${WRKDIR}/.PLIST.more
@@ -175,13 +183,6 @@ post-clean:
.include <bsd.port.pre.mk>
-.if defined(WITH_OPENSSL)
-.if !defined(WITHOUT_OPENSSL)
-.include "${PORTSDIR}/security/openssl/bsd.openssl.mk"
-CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
-.endif
-.endif
-
.if ${OSVERSION} > 500030
CONFIGURE_ARGS+= --enable-threads
.else