summaryrefslogtreecommitdiff
path: root/net/ldns
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-04-12 11:33:33 +0000
committerobache <obache@pkgsrc.org>2011-04-12 11:33:33 +0000
commit9f7657636d0d0aae89cac8b1862b4001777f4291 (patch)
tree86102c57a585725b5f2d818f226f227c896a4892 /net/ldns
parentdd95408cc05d004f0d05d07126e617a75d77073a (diff)
downloadpkgsrc-9f7657636d0d0aae89cac8b1862b4001777f4291.tar.gz
exactly disable sha2 for OpenSSL<0.9.8, PR#40602.
Diffstat (limited to 'net/ldns')
-rw-r--r--net/ldns/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ldns/Makefile b/net/ldns/Makefile
index e5fc9b743c9..f034f1c5cbd 100644
--- a/net/ldns/Makefile
+++ b/net/ldns/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2011/03/21 13:10:58 pettai Exp $
+# $NetBSD: Makefile,v 1.15 2011/04/12 11:33:33 obache Exp $
DISTNAME= ldns-1.6.9
CATEGORIES= net
@@ -38,6 +38,8 @@ PLIST_VARS.sha2!= \
.endif
.if ${PLIST_VARS.sha2} == "yes"
CONFIGURE_ARGS+= --enable-sha2
+.else
+CONFIGURE_ARGS+= --disable-sha2
.endif
CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
CONFIGURE_ARGS+= DOXYGEN=${FALSE}