From 5156c34d24093533b9b8b0732cbdf2462e9f108b Mon Sep 17 00:00:00 2001 From: rillig Date: Fri, 21 Jul 2006 07:07:17 +0000 Subject: [PATCH] When PKGSRC_RUN_TEST is set to "yes", Perl is needed. --- math/fftw/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/math/fftw/Makefile b/math/fftw/Makefile index 856e85fd1162..0920c5db9967 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"