aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind99
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/bind99
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/bind99')
-rw-r--r--dns/bind99/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/dns/bind99/Makefile b/dns/bind99/Makefile
index 4373bf8f267e..79af9b0024ca 100644
--- a/dns/bind99/Makefile
+++ b/dns/bind99/Makefile
@@ -179,21 +179,23 @@ PLIST_SUB+= NOBASE="" BASE="@comment "
SUB_LIST+= NOBASE="" BASE="@comment "
USE_RC_SUBR+= named
SUB_FILES+= named.conf
-.if ${PORT_OPTIONS:MGOST}
-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}
PORTDOCS= *
+.include <bsd.port.pre.mk>
+
+.if ( ${PORT_OPTIONS:MGOST} ) && 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-patch:
@${REINPLACE_CMD} -e 's|readline/readline.h|editline/readline.h|; \
s|readline/history.h|histedit.h|' \
@@ -241,4 +243,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf \
${STAGEDIR}${ETCDIR}/rndc.conf.sample
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>