summaryrefslogtreecommitdiff
path: root/pkgtools/pkgclean
diff options
context:
space:
mode:
authortv <tv>2005-01-06 05:32:29 +0000
committertv <tv>2005-01-06 05:32:29 +0000
commit2e70faa486c0d3b473cd82d89e10c97818b3f6ee (patch)
tree3e0e17bdc7871a29a0ce9d23a71ea27bc88ac783 /pkgtools/pkgclean
parent7ee37562d140b9a9347b84b918b1a0908ee5fd16 (diff)
downloadpkgsrc-2e70faa486c0d3b473cd82d89e10c97818b3f6ee.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