diff options
author | marcel <marcel@FreeBSD.org> | 2003-03-08 08:57:56 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-03-08 08:57:56 +0000 |
commit | 71eb06a12b9f569cb83c8eff63f7c26daccc67da (patch) | |
tree | 839f81bbc45189ce0b3ddb7d32a78276f5fbd8bd /kerberos5/usr.sbin/ktutil/Makefile | |
parent | 070a5de70b6575de8713078bfde3805a34f1c31c (diff) | |
download | FreeBSD-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/usr.sbin/ktutil/Makefile')
-rw-r--r-- | kerberos5/usr.sbin/ktutil/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 |