summaryrefslogtreecommitdiff
path: root/net/bind9
diff options
context:
space:
mode:
authorwiz <wiz>2002-06-17 12:58:22 +0000
committerwiz <wiz>2002-06-17 12:58:22 +0000
commit27ababc350dc03ea462bce2aef3adf8bfeb668cc (patch)
tree9f0570a909c95a841291975269582471bab9ed27 /net/bind9
parente357177f557ac14285ea9de3a7cb6bdc28d44399 (diff)
downloadpkgsrc-27ababc350dc03ea462bce2aef3adf8bfeb668cc.tar.gz
Use openssl buildlink.mk instead of USE_SSL.
Diffstat (limited to 'net/bind9')
-rw-r--r--net/bind9/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/net/bind9/Makefile b/net/bind9/Makefile
index 3651d5c0720..b98fd1aed53 100644
--- a/net/bind9/Makefile
+++ b/net/bind9/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2002/05/04 14:56:23 taca Exp $
+# $NetBSD: Makefile,v 1.39 2002/06/17 12:58:22 wiz Exp $
#
DISTNAME= bind-${BIND_VERSION}
@@ -9,23 +9,23 @@ MAINTAINER= hubertf@NetBSD.org
HOMEPAGE= http://www.isc.org/products/BIND/
COMMENT= Version 9 of the Berkeley Internet Name Daemon, implementation of DNS
+BIND_VERSION= 9.2.1
+DIST_SUBDIR= bind/${BIND_VERSION}
+
# IPv6 ready, automatically detected
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_INET6
-
# No need to set USE_INET6, will auto-detect.
-BIND_VERSION= 9.2.1
-DIST_SUBDIR= bind/${BIND_VERSION}
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--disable-threads # Until we have real threads
CONFIGURE_ARGS+=--with-libtool=yes \
--sysconfdir=/etc \
--localstatedir=/var
#LDFLAGS+= -Wl,-R${LOCALBASE}/pthreads/lib -L${LOCALBASE}/pthreads/lib
-# use external OpenSSL. comment the following two lines out to use
-# OpenSSL shipped with BIND9.
-USE_SSL= yes
-CONFIGURE_ARGS+=--with-openssl=${LOCALBASE}
+# use external OpenSSL. comment out the following line and the buildlink
+# include at the bottom to use OpenSSL shipped with BIND9.
+CONFIGURE_ARGS+=--with-openssl=${SSLBASE}
post-build:
${SED} \
@@ -55,4 +55,5 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/named ${PREFIX}/etc/rc.d/named9
${INSTALL_DATA} ${WRKDIR}/lwresd ${PREFIX}/etc/rc.d/lwresd
+.include "../../security/openssl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"