summaryrefslogtreecommitdiff
path: root/net/bind9
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-06-17 12:58:22 +0000
committerwiz <wiz@pkgsrc.org>2002-06-17 12:58:22 +0000
commit0be3cc9f13b2767f8306ed49fc017ed71697c636 (patch)
tree9f0570a909c95a841291975269582471bab9ed27 /net/bind9
parentd9bf3595eb663a28c960a645224a8b82ef382491 (diff)
downloadpkgsrc-0be3cc9f13b2767f8306ed49fc017ed71697c636.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"