diff options
Diffstat (limited to 'benchmarks/fib')
-rw-r--r-- | benchmarks/fib/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmarks/fib/Makefile b/benchmarks/fib/Makefile index 6ccd30d4962..dcbb6f2bd68 100644 --- a/benchmarks/fib/Makefile +++ b/benchmarks/fib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2008/01/19 09:16:17 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2008/03/03 00:51:44 jlam Exp $ DISTNAME= fib.c PKGNAME= fib-980203 @@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Mathematical benchmark PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR} @@ -23,7 +24,7 @@ do-build: (cd ${WRKSRC} ; ${CC} ${CFLAGS} -DUNIX -o fib fib.c -lm) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/fib ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/fib ${DESTDIR}${PREFIX}/bin benchmark: -@${WRKSRC}/fib | tee ${WRKSRC}/fib.out |