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
commit1289a3a3708c9498b828c2c086dbf1bc1194b5dd (patch)
tree11c909aecff0a8ad25bb9518a355f90f973f0b7d /benchmarks
parentb49ffa5fe3e42edff079266268074a183f1406d3 (diff)
downloadpkgsrc-1289a3a3708c9498b828c2c086dbf1bc1194b5dd.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