From 049d18c5835d62b6eb9c1cf77d2c9701a08dc17c Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 6 Jan 2005 05:32:29 +0000 Subject: Don't "cp -p" for *source* files. Builds are usually done as an unprivileged user, so it's not nice to try to use an option that will try to chown if the repository isn't owned by the builder. (Some OS's do in fact cause an error when the chown in "cp -p" fails.) --- pkgtools/pkg_install/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgtools/pkg_install/Makefile') diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile index 4d7709e8f4d..741717b317b 100644 --- a/pkgtools/pkg_install/Makefile +++ b/pkgtools/pkg_install/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.106 2004/12/09 21:29:06 erh Exp $ +# $NetBSD: Makefile,v 1.107 2005/01/06 05:32:29 tv Exp $ # Notes to package maintainers: # @@ -61,7 +61,7 @@ VERSION!= ${AWK} -F '"' '/PKGTOOLS_VERSION/ {print $$2}' \ ${FILESDIR}/lib/version.h do-extract: - @${CP} -Rp ${FILESDIR} ${WRKSRC} + @${CP} -R ${FILESDIR} ${WRKSRC} post-install: if [ ! -f ${PKG_DBDIR}/pkgdb.byfile.db ]; then \ -- cgit v1.2.3