pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/ldns Remove a redundant MASTER_SITES line.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0041a84cf67d
branches: trunk
changeset: 570846:0041a84cf67d
user: obache <obache%pkgsrc.org@localhost>
date: Thu Feb 04 04:42:09 2010 +0000
description:
Remove a redundant MASTER_SITES line.
diffstat:
net/ldns/Makefile | 27 ++++++++++++++++++++++++---
1 files changed, 24 insertions(+), 3 deletions(-)
diffs (48 lines):
diff -r d3a3c865c802 -r 0041a84cf67d net/ldns/Makefile
--- a/net/ldns/Makefile Thu Feb 04 04:31:15 2010 +0000
+++ b/net/ldns/Makefile Thu Feb 04 04:42:09 2010 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2010/01/17 12:02:33 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2010/02/04 04:42:09 obache Exp $
DISTNAME= ldns-1.6.3
PKGREVISION= 1
CATEGORIES= net
-MASTER_SITES= http://www.nlnetlabs.nl/downloads/drill/
MASTER_SITES= http://www.nlnetlabs.nl/downloads/ldns/
MAINTAINER= he%NetBSD.org@localhost
@@ -16,10 +15,32 @@
USE_TOOLS+= gmake perl
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --enable-sha2
+#CONFIGURE_ARGS+= --enable-sha2
REPLACE_PERL= doc/doxyparse.pl
BUILDLINK_ABI_DEPENDS.openssl+= openssl>=0.9.8
.include "../../security/openssl/buildlink3.mk"
+
+PLIST_VARS+= sha2
+.if defined(USE_BUILTIN.openssl) && !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
+PLIST_VARS.sha2!= \
+ if ${PKG_ADMIN} pmatch 'openssl>=0.9.8' ${BUILTIN_PKG.openssl:Q}; then \
+ ${ECHO} "yes"; \
+ else \
+ ${ECHO} "no"; \
+ fi
+.else
+PLIST_VARS.sha2!= \
+ if ${PKG_INFO} -qe 'openssl>=0.9.8'; then \
+ ${ECHO} yes; \
+ else \
+ ${ECHO} no; \
+ fi
+.endif
+.if ${PLIST_VARS.sha2} == "yes"
+CONFIGURE_ARGS+= --enable-sha2
+.endif
+CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index