From 2e70faa486c0d3b473cd82d89e10c97818b3f6ee 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/binpatch/Makefile | 4 ++-- pkgtools/digest/Makefile | 4 ++-- pkgtools/libkver/Makefile | 4 ++-- pkgtools/libnbcompat/Makefile | 4 ++-- pkgtools/mtree/Makefile | 4 ++-- pkgtools/pkg_install-info/Makefile | 4 ++-- pkgtools/pkg_install/Makefile | 4 ++-- pkgtools/pkgclean/Makefile | 4 ++-- pkgtools/pkgfind/Makefile | 4 ++-- pkgtools/rc.subr/Makefile | 4 ++-- pkgtools/rcorder/Makefile | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/binpatch/Makefile b/pkgtools/binpatch/Makefile index fd20af1eada..547cd103023 100644 --- a/pkgtools/binpatch/Makefile +++ b/pkgtools/binpatch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/07/23 03:37:26 atatat Exp $ +# $NetBSD: Makefile,v 1.2 2005/01/06 05:32:29 tv Exp $ # DISTNAME= binpatch-1.0 @@ -17,7 +17,7 @@ NO_CHECKSUM= # defined .include "../../mk/bsd.prefs.mk" do-extract: - @${CP} -Rp ${FILESDIR} ${WRKSRC} + @${CP} -R ${FILESDIR} ${WRKSRC} do-build: @(cd ${WRKSRC}; \ diff --git a/pkgtools/digest/Makefile b/pkgtools/digest/Makefile index ff86309e89b..8fbaa969dfa 100644 --- a/pkgtools/digest/Makefile +++ b/pkgtools/digest/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2004/10/14 03:13:00 atatat Exp $ +# $NetBSD: Makefile,v 1.44 2005/01/06 05:32:29 tv Exp $ # # When adding new digest algorithms, please use rmd160 as the template, # and bump the VERSION definition. @@ -31,7 +31,7 @@ VERSION!= ${AWK} -F "'" '/^PACKAGE_VERSION=/ {print $$2}' \ ${FILESDIR}/configure do-extract: - @${CP} -Rp ${FILESDIR} ${WRKSRC} + @${CP} -R ${FILESDIR} ${WRKSRC} pre-install: -@${MKDIR} ${PKG_DBDIR} diff --git a/pkgtools/libkver/Makefile b/pkgtools/libkver/Makefile index e6406b4cf27..dcc138067f0 100644 --- a/pkgtools/libkver/Makefile +++ b/pkgtools/libkver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2004/07/06 09:45:38 cube Exp $ +# $NetBSD: Makefile,v 1.12 2005/01/06 05:32:29 tv Exp $ DISTNAME= libkver-${VERSION} CATEGORIES= pkgtools @@ -45,6 +45,6 @@ INSTALLATION_DIRS+= sbin .endif do-extract: - @${CP} -Rp ${FILESDIR} ${WRKSRC} + @${CP} -R ${FILESDIR} ${WRKSRC} .include "../../mk/bsd.pkg.mk" diff --git a/pkgtools/libnbcompat/Makefile b/pkgtools/libnbcompat/Makefile index ff0d72674f5..49f0aac3500 100644 --- a/pkgtools/libnbcompat/Makefile +++ b/pkgtools/libnbcompat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2004/10/24 11:18:33 grant Exp $ +# $NetBSD: Makefile,v 1.44 2005/01/06 05:32:29 tv Exp $ # # NOTE: If you update this package, it is *mandatory* that you update # pkgsrc/pkgtools/libnbcompat/files/README to reflect the actual @@ -26,6 +26,6 @@ PKG_CREATE= PKG_DBDIR=${_PKG_DBDIR} ${PKG_CREATE_CMD} PKG_DELETE= PKG_DBDIR=${_PKG_DBDIR} ${PKG_DELETE_CMD} do-extract: - @${CP} -Rp ${FILESDIR} ${WRKSRC} + @${CP} -R ${FILESDIR} ${WRKSRC} .include "../../mk/bsd.pkg.mk" diff --git a/pkgtools/mtree/Makefile b/pkgtools/mtree/Makefile index d4942277bee..0938f5b4e79 100644 --- a/pkgtools/mtree/Makefile +++ b/pkgtools/mtree/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2004/08/27 02:19:44 schmonz Exp $ +# $NetBSD: Makefile,v 1.14 2005/01/06 05:32:29 tv Exp $ # DISTNAME= mtree-20040722 @@ -23,7 +23,7 @@ PKG_PRESERVE= # defined .include "../../mk/bsd.prefs.mk" do-extract: - @${CP} -Rp ${FILESDIR} ${WRKSRC} + @${CP} -R ${FILESDIR} ${WRKSRC} .if defined(LIBNBCOMPAT_STYLE) && (${LIBNBCOMPAT_STYLE} == "inplace") . include "../../pkgtools/libnbcompat/inplace.mk" diff --git a/pkgtools/pkg_install-info/Makefile b/pkgtools/pkg_install-info/Makefile index a8ac239e637..fdaddf23ffa 100644 --- a/pkgtools/pkg_install-info/Makefile +++ b/pkgtools/pkg_install-info/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2004/03/23 04:41:01 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2005/01/06 05:32:29 tv Exp $ # DISTNAME= pkg_install-info-${VERSION} @@ -27,6 +27,6 @@ MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP} INSTALLATION_DIRS= bin do-extract: - @${CP} -Rp ${FILESDIR} ${WRKSRC} + @${CP} -R ${FILESDIR} ${WRKSRC} .include "../../mk/bsd.pkg.mk" 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 \ 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 diff --git a/pkgtools/pkgfind/Makefile b/pkgtools/pkgfind/Makefile index dfd287b9934..1b995bbb313 100644 --- a/pkgtools/pkgfind/Makefile +++ b/pkgtools/pkgfind/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2004/10/23 10:48:08 peter Exp $ +# $NetBSD: Makefile,v 1.5 2005/01/06 05:32:29 tv Exp $ DISTNAME= pkgfind-20041023 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}/pkgfind ${WRKSRC}/pkgfind.c diff --git a/pkgtools/rc.subr/Makefile b/pkgtools/rc.subr/Makefile index 9471bde9342..903cf1dbde9 100644 --- a/pkgtools/rc.subr/Makefile +++ b/pkgtools/rc.subr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2004/12/28 02:47:48 reed Exp $ +# $NetBSD: Makefile,v 1.10 2005/01/06 05:32:30 tv Exp $ # DISTNAME= rc.subr-20041011 @@ -24,7 +24,7 @@ PLIST_SUBST+= RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR:S/^\///} CONF_FILES+= ${PREFIX}etc/rc.conf.example ${PREFIX}etc/rc.conf do-extract: - @${CP} -Rp ${FILESDIR} ${WRKSRC} + @${CP} -R ${FILESDIR} ${WRKSRC} do-install: ${INSTALL_DATA_DIR} ${RCD_SCRIPTS_DIR} diff --git a/pkgtools/rcorder/Makefile b/pkgtools/rcorder/Makefile index ef6cfa3de94..6db89b98a81 100644 --- a/pkgtools/rcorder/Makefile +++ b/pkgtools/rcorder/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2004/08/27 17:08:07 reed Exp $ +# $NetBSD: Makefile,v 1.6 2005/01/06 05:32:30 tv Exp $ # DISTNAME= rcorder-20031013 @@ -23,6 +23,6 @@ GNU_CONFIGURE= yes .endif do-extract: - @${CP} -Rp ${FILESDIR} ${WRKSRC} + @${CP} -R ${FILESDIR} ${WRKSRC} .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3