diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-11-07 04:24:55 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-11-07 04:24:55 +0000 |
commit | 3cabe21a2dfb3b2b13910299e3c4c00d7d724d99 (patch) | |
tree | fc7606d0883621b7ad825f441375954cd70cf9a8 /dns | |
parent | 3ba9992d2de718ebdcb0e0e484223c24c2614f4b (diff) |
Notes
Diffstat (limited to 'dns')
-rw-r--r-- | dns/ldns/Makefile | 9 | ||||
-rw-r--r-- | dns/unbound/Makefile | 13 |
2 files changed, 2 insertions, 20 deletions
diff --git a/dns/ldns/Makefile b/dns/ldns/Makefile index ce30a0fdfd2f..0d0ac151620d 100644 --- a/dns/ldns/Makefile +++ b/dns/ldns/Makefile @@ -39,8 +39,6 @@ PLIST_SUB+= PYLDNS="" PLIST_SUB+= PYLDNS="@comment " .endif -.include <bsd.port.pre.mk> - ALL_TARGET= all INSTALL_TARGET= install-lib install-h @@ -266,15 +264,10 @@ MAN1+= ldns-chaos.1 ldns-compare-zones.1 ldns-dpa.1 \ PLIST_SUB+= EXAMPLES="@comment " .endif -.if defined(WITH_ECDSA) && ${OSVERSION} > 700000 +.if defined(WITH_ECDSA) CONFIGURE_ARGS+=--enable-ecdsa .endif -.if ${OSVERSION} < 700000 -NO_SHA2= --disable-sha2 -CONFIGURE_ARGS+=${NO_SHA2} -.endif - post-configure: .if defined(WITH_EXAMPLES) @(cd ${WRKSRC}/examples; ./configure --prefix=${PREFIX} \ diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile index 0b79af48f39b..cbc18332f577 100644 --- a/dns/unbound/Makefile +++ b/dns/unbound/Makefile @@ -59,17 +59,6 @@ WITH_OPENSSL_PORT= yes CONFIGURE_ARGS+= --disable-gost .endif -.include <bsd.port.pre.mk> - -# OpenSSL on 6.x has no sha256 functions -.if ${OSVERSION} < 700000 -CONFIGURE_ARGS+= --disable-sha2 -.endif - -.if ${ARCH} == "sparc64" && ${OSVERSION} < 700000 -BROKEN= Does not build on sparc64-6 -.endif - .if defined(WITH_LIBEVENT) LIB_DEPENDS+= event-1.4:${PORTSDIR}/devel/libevent CONFIGURE_ARGS+= --with-libevent=${LOCALBASE} @@ -94,4 +83,4 @@ post-install: done .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |