summaryrefslogtreecommitdiff
path: root/pkgtools/pkgclean
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-06 05:32:29 +0000
committertv <tv@pkgsrc.org>2005-01-06 05:32:29 +0000
commit76b643166d9495f68c96d8e05e2c25260619fae3 (patch)
tree3e0e17bdc7871a29a0ce9d23a71ea27bc88ac783 /pkgtools/pkgclean
parent8b1c0188c99553d662105ae5bcd623e3c400a042 (diff)
downloadpkgsrc-76b643166d9495f68c96d8e05e2c25260619fae3.tar.gz
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.)
Diffstat (limited to 'pkgtools/pkgclean')
-rw-r--r--pkgtools/pkgclean/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkgclean/Makefile b/pkgtools/pkgclean/Makefile
index 2a8ae9a5434..83a1c74a1a7 100644
--- a/pkgtools/pkgclean/Makefile
+++ b/pkgtools/pkgclean/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/10/14 16:11:05 ben Exp $
+# $NetBSD: Makefile,v 1.4 2005/01/06 05:32:29 tv Exp $
DISTNAME= pkgclean-20041014
CATEGORIES= pkgtools
@@ -19,7 +19,7 @@ INSTALLATION_DIRS= bin man/cat1 man/man1
NROFF= nroff -mandoc
do-extract:
- @${CP} -Rp ${FILESDIR} ${WRKSRC}
+ @${CP} -R ${FILESDIR} ${WRKSRC}
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/pkgclean ${WRKSRC}/pkgclean.c