summaryrefslogtreecommitdiff
path: root/math/fftw
diff options
context:
space:
mode:
authorrillig <rillig>2006-07-21 07:07:17 +0000
committerrillig <rillig>2006-07-21 07:07:17 +0000
commitc83048b86c7276dbbee7e9b60255909dbab5c3c9 (patch)
tree502ccae04f2ccee3e8fc7b7ed4db22b031c56833 /math/fftw
parentbdeddf70169619830ca1bc2c12486a44246ac5fb (diff)
downloadpkgsrc-c83048b86c7276dbbee7e9b60255909dbab5c3c9.tar.gz
When PKGSRC_RUN_TEST is set to "yes", Perl is needed.
Diffstat (limited to 'math/fftw')
-rw-r--r--math/fftw/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/fftw/Makefile b/math/fftw/Makefile
index 856e85fd116..0920c5db996 100644
--- a/math/fftw/Makefile
+++ b/math/fftw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2006/07/21 05:30:22 rillig Exp $
+# $NetBSD: Makefile,v 1.27 2006/07/21 07:07:17 rillig Exp $
DISTNAME= fftw-3.1.2
CATEGORIES= math
@@ -22,4 +22,10 @@ INFO_FILES= yes
TEST_TARGET= check
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(PKGSRC_RUN_TEST) && !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
+USE_TOOLS+= perl
+.endif
+
.include "../../mk/bsd.pkg.mk"