summaryrefslogtreecommitdiff
path: root/math/fftw
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
commit5cfd6ed9d9a2bcec4722b87dfae5bc8603860804 (patch)
tree502ccae04f2ccee3e8fc7b7ed4db22b031c56833 /math/fftw
parent9b0ff44a68b299228a0d154f7977506624b858b2 (diff)
downloadpkgsrc-5cfd6ed9d9a2bcec4722b87dfae5bc8603860804.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"