pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/benchmarks/benchfft Use the built-in routines so we pi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36051cda6d2f
branches:  trunk
changeset: 463054:36051cda6d2f
user:      mrauch <mrauch%pkgsrc.org@localhost>
date:      Sun Oct 26 14:54:54 2003 +0000

description:
Use the built-in routines so we pick up all variable settings
(fixes missing -rpath link statement)

diffstat:

 benchmarks/benchfft/Makefile |  12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diffs (26 lines):

diff -r 54265f71094f -r 36051cda6d2f benchmarks/benchfft/Makefile
--- a/benchmarks/benchfft/Makefile      Sun Oct 26 14:51:21 2003 +0000
+++ b/benchmarks/benchfft/Makefile      Sun Oct 26 14:54:54 2003 +0000
@@ -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+=        ${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



Home | Main Index | Thread Index | Old Index