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
commita9df29c356aad258f51cac8b485fe3d226894078 (patch)
tree502ccae04f2ccee3e8fc7b7ed4db22b031c56833 /math/fftw
parent91177274e4656bffe21a356ecd007492fa95aa41 (diff)
downloadpkgsrc-a9df29c356aad258f51cac8b485fe3d226894078.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"