aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind9-devel
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-04-06 21:53:09 +0800
committermat <mat@FreeBSD.org>2016-04-06 21:53:09 +0800
commitd873a620b8748d505f1aada540e44e8d8bcb4615 (patch)
tree6e8fea336ffad9c632b5df445ec4927bf75f0c31 /dns/bind9-devel
parentaa96195ccba235418dac5b2a3b1ad36d6246c06e (diff)
downloadfreebsd-ports-gnome-d873a620b8748d505f1aada540e44e8d8bcb4615.tar.gz
freebsd-ports-gnome-d873a620b8748d505f1aada540e44e8d8bcb4615.tar.zst
freebsd-ports-gnome-d873a620b8748d505f1aada540e44e8d8bcb4615.zip
Stop bringing in OpenSSL from ports, it builds fine with the base one on
9, and WITH_OPENSSL_PORT does not belong in a port's Makefile anyway. Not bumping PORTREVISION because: - if you are building with poudriere, it will detect that a dependency has changed and rebuild it. - if you are building from ports, you will have OpenSSL from ports installed, and it will choose to use it. Sponsored by: Absolight
Diffstat (limited to 'dns/bind9-devel')
-rw-r--r--dns/bind9-devel/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/dns/bind9-devel/Makefile b/dns/bind9-devel/Makefile
index 7855829d4141..85e1ed24a131 100644
--- a/dns/bind9-devel/Makefile
+++ b/dns/bind9-devel/Makefile
@@ -195,15 +195,9 @@ PLIST_SUB+= NOBASE="" BASE="@comment "
SUB_LIST+= NOBASE="" BASE="@comment "
USE_RC_SUBR+= named
SUB_FILES+= named.conf
-.if ${PORT_OPTIONS:MGOST} || ${PORT_OPTIONS:MGOST_ASN1}
-WITH_OPENSSL_PORT=yes
-.endif
.else
PLIST_SUB+= NOBASE="@comment " BASE=""
SUB_LIST+= NOBASE="@comment " BASE=""
-.if ${PORT_OPTIONS:MSSL}
-WITH_OPENSSL_PORT= yes
-.endif
.endif
PKGDEINSTALL= ${PKGINSTALL}
@@ -211,6 +205,14 @@ PKGDEINSTALL= ${PKGINSTALL}
PORTDOCS= *
+.include <bsd.port.pre.mk>
+
+.if ( ${PORT_OPTIONS:MGOST} || ${PORT_OPTIONS:MGOST_ASN1} ) && defined(WITH_OPENSSL_BASE)
+BROKEN= OpenSSL from the base system does not support GOST, add \
+ WITH_OPENSSL_PORT=yes to your /etc/make.conf and rebuild everything \
+ that needs SSL.
+.endif
+
post-extract:
echo "SRCID=${HASH}" > ${WRKSRC}/srcid
@@ -260,4 +262,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf \
${STAGEDIR}${ETCDIR}/rndc.conf.sample
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>