From af346ae99f3b6ec58fcdd52190cad3473a9b31d8 Mon Sep 17 00:00:00 2001 From: kristerw Date: Sun, 19 Mar 2006 22:36:03 +0000 Subject: Do not use ${INSTALL} to copy files into ${WRKSRC} -- this is wrong for e.g. NetBSD 1.6 whose /usr/bin/install does not set -c by default. ${CP} is much better if you just want to copy a file... --- benchmarks/hbench/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'benchmarks/hbench') diff --git a/benchmarks/hbench/Makefile b/benchmarks/hbench/Makefile index 3f9df7d658e..ee2f043a59b 100644 --- a/benchmarks/hbench/Makefile +++ b/benchmarks/hbench/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2006/03/11 03:44:20 rillig Exp $ +# $NetBSD: Makefile,v 1.36 2006/03/19 22:36:03 kristerw Exp $ DISTNAME= hbench-OS-1.0 PKGNAME= hbench-1.0 @@ -26,8 +26,8 @@ GET_OS_CMD= ${PKGSRCDIR:Q}/mk/gnu-config/config.guess | ${SED} -e 's/^.*-.*-//' PLIST_SUBST+= PLATFORM=${GET_OS_CMD:sh:Q}-${GET_ARCH_CMD:sh:Q} pre-configure: - ${INSTALL} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/scripts - ${INSTALL} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/scripts + ${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/scripts + ${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/scripts post-configure: cd ${WRKSRC}; \ -- cgit v1.2.3