summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-21 07:07:17 +0000
committerrillig <rillig@pkgsrc.org>2006-07-21 07:07:17 +0000
commit5156c34d24093533b9b8b0732cbdf2462e9f108b (patch)
tree502ccae04f2ccee3e8fc7b7ed4db22b031c56833 /math
parent4ceaabdb753434a28c683098402b9a2d601e4a84 (diff)
downloadpkgsrc-5156c34d24093533b9b8b0732cbdf2462e9f108b.tar.gz
When PKGSRC_RUN_TEST is set to "yes", Perl is needed.
Diffstat (limited to 'math')
-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"