summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorobache <obache>2011-04-12 11:33:33 +0000
committerobache <obache>2011-04-12 11:33:33 +0000
commit08182d1cd575739a2f5561fbf8bbd854ab895e25 (patch)
tree86102c57a585725b5f2d818f226f227c896a4892 /net
parentb8630135439b7c967430d24ed783991dc3012cc9 (diff)
downloadpkgsrc-08182d1cd575739a2f5561fbf8bbd854ab895e25.tar.gz
exactly disable sha2 for OpenSSL<0.9.8, PR#40602.
Diffstat (limited to 'net')
-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}