summaryrefslogtreecommitdiff
path: root/www/curl
diff options
context:
space:
mode:
authorrillig <rillig>2006-10-06 08:04:03 +0000
committerrillig <rillig>2006-10-06 08:04:03 +0000
commite4db7e4f2cc7c523fe8dd4740d97352633c32aaa (patch)
tree5bd2548b29e2ece3bf535f877e4bd97420ff131f /www/curl
parent43794d471176c1300a220e439861b9d7c4e0f31b (diff)
downloadpkgsrc-e4db7e4f2cc7c523fe8dd4740d97352633c32aaa.tar.gz
Specifying USE_TOOLS in a comment does not work. (hi wiz!)
Diffstat (limited to 'www/curl')
-rw-r--r--www/curl/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/curl/Makefile b/www/curl/Makefile
index 5bb2bb27237..e9bbd074837 100644
--- a/www/curl/Makefile
+++ b/www/curl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.66 2006/08/10 14:18:14 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2006/10/06 08:04:03 rillig Exp $
DISTNAME= curl-7.15.5
CATEGORIES= www
@@ -23,8 +23,12 @@ CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
# Work around an ICE on sparc64 with gcc2
CONFIGURE_ENV+= F77=${FALSE:Q}
-# needs perl
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
TEST_TARGET= check
+USE_TOOLS+= perl
+.endif
.include "options.mk"