summaryrefslogtreecommitdiffstats
path: root/kerberos5
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2015-01-16 21:39:08 +0000
committerwill <will@FreeBSD.org>2015-01-16 21:39:08 +0000
commitafad9375d853b7b34e4256d1c3421d937b565c57 (patch)
tree8a1af53c5feb7376262fc346729ffddd1a4b3c93 /kerberos5
parent96da0c1c63a35ba3aca3a9ef55e32fde9bdf7964 (diff)
downloadFreeBSD-src-afad9375d853b7b34e4256d1c3421d937b565c57.zip
FreeBSD-src-afad9375d853b7b34e4256d1c3421d937b565c57.tar.gz
Add a ${CP} alias for copying files in the build.
Some users build FreeBSD as non-root in Perforce workspaces. By default, Perforce sets files read-only unless they're explicitly being edited. As a result, the -f argument must be used to cp in order to override the read-only flag when copying source files to object directories. Bare use of 'cp' should be avoided in the future. Update all current users of 'cp' in the src tree. Reviewed by: emaste MFC after: 1 week Sponsored by: Spectra Logic
Diffstat (limited to 'kerberos5')
-rw-r--r--kerberos5/lib/libasn1/Makefile4
-rw-r--r--kerberos5/lib/libgssapi_spnego/Makefile4
-rw-r--r--kerberos5/lib/libhdb/Makefile4
-rw-r--r--kerberos5/lib/libhx509/Makefile4
4 files changed, 8 insertions, 8 deletions
diff --git a/kerberos5/lib/libasn1/Makefile b/kerberos5/lib/libasn1/Makefile
index d445b8b..3d65eee 100644
--- a/kerberos5/lib/libasn1/Makefile
+++ b/kerberos5/lib/libasn1/Makefile
@@ -111,10 +111,10 @@ ${GEN_KX509}: kx509.asn1
.SUFFIXES: .h .c .x .hx
.x.c:
- cp -f ${.IMPSRC} ${.TARGET}
+ ${CP} ${.IMPSRC} ${.TARGET}
.hx.h:
- cp -f ${.IMPSRC} ${.TARGET}
+ ${CP} ${.IMPSRC} ${.TARGET}
.include <bsd.lib.mk>
diff --git a/kerberos5/lib/libgssapi_spnego/Makefile b/kerberos5/lib/libgssapi_spnego/Makefile
index 9216808..5e54e95 100644
--- a/kerberos5/lib/libgssapi_spnego/Makefile
+++ b/kerberos5/lib/libgssapi_spnego/Makefile
@@ -45,10 +45,10 @@ ${GEN}: spnego.asn1 spnego.opt
.SUFFIXES: .h .c .x .hx
.x.c:
- cp ${.IMPSRC} ${.TARGET}
+ ${CP} ${.IMPSRC} ${.TARGET}
.hx.h:
- cp ${.IMPSRC} ${.TARGET}
+ ${CP} ${.IMPSRC} ${.TARGET}
.include <bsd.lib.mk>
diff --git a/kerberos5/lib/libhdb/Makefile b/kerberos5/lib/libhdb/Makefile
index 1f99fc4..2b178b2 100644
--- a/kerberos5/lib/libhdb/Makefile
+++ b/kerberos5/lib/libhdb/Makefile
@@ -91,10 +91,10 @@ ${GEN}: hdb.asn1
.SUFFIXES: .h .c .x .hx
.x.c:
- cp ${.IMPSRC} ${.TARGET}
+ ${CP} ${.IMPSRC} ${.TARGET}
.hx.h:
- cp ${.IMPSRC} ${.TARGET}
+ ${CP} ${.IMPSRC} ${.TARGET}
.include <bsd.lib.mk>
diff --git a/kerberos5/lib/libhx509/Makefile b/kerberos5/lib/libhx509/Makefile
index 66e456d..29c45e2 100644
--- a/kerberos5/lib/libhx509/Makefile
+++ b/kerberos5/lib/libhx509/Makefile
@@ -285,10 +285,10 @@ ${GEN_CRMF}: crmf.asn1
.SUFFIXES: .h .c .x .hx
.x.c:
- cp ${.IMPSRC} ${.TARGET}
+ ${CP} ${.IMPSRC} ${.TARGET}
.hx.h:
- cp ${.IMPSRC} ${.TARGET}
+ ${CP} ${.IMPSRC} ${.TARGET}
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud