pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/benchmarks/hbench Do not use ${INSTALL} to copy files ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c295072175fe
branches:  trunk
changeset: 509938:c295072175fe
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sun Mar 19 22:36:03 2006 +0000

description:
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...

diffstat:

 benchmarks/hbench/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 26a659f41d38 -r c295072175fe benchmarks/hbench/Makefile
--- a/benchmarks/hbench/Makefile        Sun Mar 19 22:17:44 2006 +0000
+++ b/benchmarks/hbench/Makefile        Sun Mar 19 22:36:03 2006 +0000
@@ -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 @@
 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};                                                   \



Home | Main Index | Thread Index | Old Index