pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/curl Specifying USE_TOOLS in a comment does not wo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d32022c3cd8
branches:  trunk
changeset: 519589:2d32022c3cd8
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Oct 06 08:04:03 2006 +0000

description:
Specifying USE_TOOLS in a comment does not work. (hi wiz!)

diffstat:

 www/curl/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r fe8f62257265 -r 2d32022c3cd8 www/curl/Makefile
--- a/www/curl/Makefile Fri Oct 06 06:03:48 2006 +0000
+++ b/www/curl/Makefile Fri Oct 06 08:04:03 2006 +0000
@@ -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 @@
 # 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"
 



Home | Main Index | Thread Index | Old Index