aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2010-12-20 21:41:30 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2010-12-20 21:41:30 +0000
commit4658ba19c4de3d6b83f89e4a6dd0c9f7960a6ebe (patch)
tree2e4011f5c8211e9aca476576d05ca838bffb3984 /dns
parenteffa4b46c120496ed0b33cfffd76931fed45345a (diff)
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/ldns/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/dns/ldns/Makefile b/dns/ldns/Makefile
index a0a999337573..1d7a77a61f0b 100644
--- a/dns/ldns/Makefile
+++ b/dns/ldns/Makefile
@@ -7,10 +7,11 @@
PORTNAME= ldns
PORTVERSION= 1.6.7
+PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://www.nlnetlabs.nl/downloads/ldns/
-MAINTAINER= konstantin@saurbier.net
+MAINTAINER= jaap@NLnetLabs.nl
COMMENT= A library for programs conforming to DNS RFCs and drafts
LICENSE= BSD
@@ -225,7 +226,8 @@ MAN3= ldns_bget_token.3 ldns_bgetc.3 ldns_bskipcs.3 ldns_buffer.3 \
.if defined(WITH_GOST)
BUILD_DEPENDS+= openssl>=1.0:${PORTSDIR}/security/openssl
.else
-CONFIGURE_ARGS+= --disable-gost
+NO_GOST= --disable-gost
+CONFIGURE_ARGS+= ${NO_GOST}
.endif
.if defined(WITH_EXAMPLES)
@@ -241,7 +243,7 @@ MAN1= ldns-chaos.1 ldns-compare-zones.1 ldns-dpa.1 ldns-key2ds.1 \
post-configure:
@(cd ${WRKSRC}/examples; ./configure --prefix=${PREFIX} \
--infodir=${PREFIX}/${INFO_PATH} --mandir=${MANPREFIX}/man \
- --build=${CONFIGURE_TARGET})
+ --build=${CONFIGURE_TARGET} ${NO_GOST} ${NO_SHA2})
post-build:
@(cd ${WRKSRC}/examples; ${GMAKE})
@@ -257,7 +259,8 @@ CONFIGURE_ARGS+= --enable-ecdsa
.endif
.if ${OSVERSION} < 700000
-CONFIGURE_ARGS+= "--disable-sha2"
+NO_SHA2= --disable-sha2
+CONFIGURE_ARGS+= ${NO_SHA2}
.endif
.include <bsd.port.post.mk>