summaryrefslogtreecommitdiffstats
path: root/kerberos5
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-03-08 08:57:56 +0000
committermarcel <marcel@FreeBSD.org>2003-03-08 08:57:56 +0000
commit71eb06a12b9f569cb83c8eff63f7c26daccc67da (patch)
tree839f81bbc45189ce0b3ddb7d32a78276f5fbd8bd /kerberos5
parent070a5de70b6575de8713078bfde3805a34f1c31c (diff)
downloadFreeBSD-src-71eb06a12b9f569cb83c8eff63f7c26daccc67da.zip
FreeBSD-src-71eb06a12b9f569cb83c8eff63f7c26daccc67da.tar.gz
Don't copy headers from the source tree to the object tree without
making sure the copies in the object tree are writable. When files in the source tree are not writable (as would be the case for a p4 tree) then a buildworld -DNOCLEAN will try to copy over the existing non-writable headers. This fails. Instead we cat the headers with redirection. This is just one of the possibilities.
Diffstat (limited to 'kerberos5')
-rw-r--r--kerberos5/libexec/k5admind/Makefile4
-rw-r--r--kerberos5/libexec/k5passwdd/Makefile4
-rw-r--r--kerberos5/libexec/kadmind/Makefile4
-rw-r--r--kerberos5/libexec/kpasswdd/Makefile4
-rw-r--r--kerberos5/usr.bin/k5admin/Makefile4
-rw-r--r--kerberos5/usr.bin/kadmin/Makefile4
-rw-r--r--kerberos5/usr.sbin/ktutil/Makefile4
7 files changed, 14 insertions, 14 deletions
diff --git a/kerberos5/libexec/k5admind/Makefile b/kerberos5/libexec/k5admind/Makefile
index f807f12..70beef6 100644
--- a/kerberos5/libexec/k5admind/Makefile
+++ b/kerberos5/libexec/k5admind/Makefile
@@ -36,10 +36,10 @@ NOMAN= yes
.PATH: ${KRB5DIR}/kadmin
kadm5/private.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/private.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/private.h > ${.TARGET}
kadm5/admin.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/admin.h > ${.TARGET}
kadm5/kadm5_err.h: kadm5 kadm5_err.h
cd ${.OBJDIR}/kadm5 && ln -sf ../kadm5_err.h
diff --git a/kerberos5/libexec/k5passwdd/Makefile b/kerberos5/libexec/k5passwdd/Makefile
index ce0bdd3..3b53959 100644
--- a/kerberos5/libexec/k5passwdd/Makefile
+++ b/kerberos5/libexec/k5passwdd/Makefile
@@ -31,10 +31,10 @@ MAN= kpasswdd.8
.PATH: ${KRB5DIR}/kpasswd
kadm5/admin.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/admin.h > ${.TARGET}
kadm5/private.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/private.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/private.h > ${.TARGET}
kadm5:
mkdir ${.TARGET}
diff --git a/kerberos5/libexec/kadmind/Makefile b/kerberos5/libexec/kadmind/Makefile
index f807f12..70beef6 100644
--- a/kerberos5/libexec/kadmind/Makefile
+++ b/kerberos5/libexec/kadmind/Makefile
@@ -36,10 +36,10 @@ NOMAN= yes
.PATH: ${KRB5DIR}/kadmin
kadm5/private.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/private.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/private.h > ${.TARGET}
kadm5/admin.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/admin.h > ${.TARGET}
kadm5/kadm5_err.h: kadm5 kadm5_err.h
cd ${.OBJDIR}/kadm5 && ln -sf ../kadm5_err.h
diff --git a/kerberos5/libexec/kpasswdd/Makefile b/kerberos5/libexec/kpasswdd/Makefile
index ce0bdd3..3b53959 100644
--- a/kerberos5/libexec/kpasswdd/Makefile
+++ b/kerberos5/libexec/kpasswdd/Makefile
@@ -31,10 +31,10 @@ MAN= kpasswdd.8
.PATH: ${KRB5DIR}/kpasswd
kadm5/admin.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/admin.h > ${.TARGET}
kadm5/private.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/private.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/private.h > ${.TARGET}
kadm5:
mkdir ${.TARGET}
diff --git a/kerberos5/usr.bin/k5admin/Makefile b/kerberos5/usr.bin/k5admin/Makefile
index 8ba76ad..04ae169 100644
--- a/kerberos5/usr.bin/k5admin/Makefile
+++ b/kerberos5/usr.bin/k5admin/Makefile
@@ -56,10 +56,10 @@ MAN= k5admin.8
.PATH: ${KRB5DIR}/kadmin
kadm5/private.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/private.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/private.h > ${.TARGET}
kadm5/admin.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/admin.h > ${.TARGET}
kadm5/kadm5_err.h: kadm5 kadm5_err.h
cd ${.OBJDIR}/kadm5 && ln -sf ../kadm5_err.h
diff --git a/kerberos5/usr.bin/kadmin/Makefile b/kerberos5/usr.bin/kadmin/Makefile
index 8ba76ad..04ae169 100644
--- a/kerberos5/usr.bin/kadmin/Makefile
+++ b/kerberos5/usr.bin/kadmin/Makefile
@@ -56,10 +56,10 @@ MAN= k5admin.8
.PATH: ${KRB5DIR}/kadmin
kadm5/private.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/private.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/private.h > ${.TARGET}
kadm5/admin.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/admin.h > ${.TARGET}
kadm5/kadm5_err.h: kadm5 kadm5_err.h
cd ${.OBJDIR}/kadm5 && ln -sf ../kadm5_err.h
diff --git a/kerberos5/usr.sbin/ktutil/Makefile b/kerberos5/usr.sbin/ktutil/Makefile
index 5c7455e..a07663e 100644
--- a/kerberos5/usr.sbin/ktutil/Makefile
+++ b/kerberos5/usr.sbin/ktutil/Makefile
@@ -46,10 +46,10 @@ MAN= ktutil.8
.PATH: ${KRB5DIR}/admin
kadm5/private.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/private.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/private.h > ${.TARGET}
kadm5/admin.h: kadm5
- cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET}
+ cat ${KRB5DIR}/lib/kadm5/admin.h > ${.TARGET}
kadm5/kadm5_err.h: kadm5 kadm5_err.h
cd ${.OBJDIR}/kadm5 && ln -sf ../kadm5_err.h
OpenPOWER on IntegriCloud