summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authormrauch <mrauch@pkgsrc.org>2003-10-26 14:54:54 +0000
committermrauch <mrauch@pkgsrc.org>2003-10-26 14:54:54 +0000
commitc522ba9f7ebfc92daf41280c950dcf3959cee9ed (patch)
tree11c909aecff0a8ad25bb9518a355f90f973f0b7d /benchmarks
parent590be7f81d6a8692821ec5eaf938a6073bdc5e2d (diff)
downloadpkgsrc-c522ba9f7ebfc92daf41280c950dcf3959cee9ed.tar.gz
Use the built-in routines so we pick up all variable settings
(fixes missing -rpath link statement)
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/benchfft/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/benchmarks/benchfft/Makefile b/benchmarks/benchfft/Makefile
index 1be57b52a5f..2e85bf2fbcb 100644
--- a/benchmarks/benchfft/Makefile
+++ b/benchmarks/benchfft/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2002/12/07 15:40:49 cjep Exp $
+# $NetBSD: Makefile,v 1.15 2003/10/26 14:54:54 mrauch Exp $
DISTNAME= benchfft-2.0
CATEGORIES= benchmarks math
@@ -21,13 +21,9 @@ CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config.guess
CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/fftw-2.0.1/config.guess
CONFIG_SUB_OVERRIDE= ${WRKSRC}/config.sub ${WRKDIR}/fftw-2.0.1/config.sub
-do-configure:
- (cd ${WRKDIR}/fftw-2.0.1 && ./configure)
-
-do-build:
- (cd ${WRKDIR}/fftw-2.0.1 && ${GMAKE})
- (cd ${WRKSRC} && ./configure)
- (cd ${WRKSRC} && ${GMAKE})
+pre-configure:
+ CONFIGURE_DIRS=${WRKDIR}/fftw-2.0.1 ${MAKE} ${MAKEFLAGS} do-configure
+ BUILD_DIRS=${WRKDIR}/fftw-2.0.1 ${MAKE} ${MAKEFLAGS} do-build
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bench ${PREFIX}/bin/bench-fft