summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/sendmail/Makefile4
-rw-r--r--net/bind9/Makefile17
2 files changed, 11 insertions, 10 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 5d7fcd47412..22404586301 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2001/11/29 01:12:40 hubertf Exp $
+# $NetBSD: Makefile,v 1.43 2002/06/17 13:07:01 wiz Exp $
DISTNAME= sendmail.8.11.6
PKGNAME= sendmail-8.11.6
@@ -53,7 +53,7 @@ DEPENDS+= openldap-1.2.*:../../databases/openldap
DEPENDS+= db-2.7.7:../../databases/db
.endif
.if defined(USE_STARTTLS) && ${USE_STARTTLS} == YES
-USE_SSL= yes
+.include "../../security/openssl/buildlink.mk"
.endif
post-patch:
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"