pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/fftw When PKGSRC_RUN_TEST is set to "yes", Perl i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4726cc55dd00
branches:  trunk
changeset: 516449:4726cc55dd00
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jul 21 07:07:17 2006 +0000

description:
When PKGSRC_RUN_TEST is set to "yes", Perl is needed.

diffstat:

 math/fftw/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 9136a7004c5e -r 4726cc55dd00 math/fftw/Makefile
--- a/math/fftw/Makefile        Fri Jul 21 06:36:21 2006 +0000
+++ b/math/fftw/Makefile        Fri Jul 21 07:07:17 2006 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index