diff options
author | fredb <fredb> | 2003-11-21 01:02:24 +0000 |
---|---|---|
committer | fredb <fredb> | 2003-11-21 01:02:24 +0000 |
commit | acb70a0986db64bdd58984c05c2253c46fb58ba0 (patch) | |
tree | fe29119247b53f9d13b6ad554c867602db07aac7 /net/ntp4/Makefile | |
parent | d24ee4d3b263a7e639aefb19e975eae00a99626a (diff) | |
download | pkgsrc-acb70a0986db64bdd58984c05c2253c46fb58ba0.tar.gz |
Don't change the permissions of files in the work directory,
so that "make clean" after just-in-time "su" works. Closes
PR pkg/23477 by Adrian Portelli.
Diffstat (limited to 'net/ntp4/Makefile')
-rw-r--r-- | net/ntp4/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile index d945bb4bc7d..6f72405ead3 100644 --- a/net/ntp4/Makefile +++ b/net/ntp4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2003/11/20 12:09:09 fredb Exp $ +# $NetBSD: Makefile,v 1.30 2003/11/21 01:02:24 fredb Exp $ # DISTNAME= ntp-4.2.0 @@ -19,14 +19,15 @@ CONFIGURE_ENV+= PATH_PERL="${PERL5}" ac_cv_header_sys_soundcard_h=no DOCDIR= ${PREFIX}/share/doc/html EXAMPLESDIR= ${PREFIX}/share/examples +ALL_NTP_DOCS= ${DOCDIR}/ntp4 ${EXAMPLESDIR}/ntp4 post-install: - cd ${WRKSRC} && \ - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} conf html; \ - ${FIND} conf html -type d -printx | ${XARGS} ${CHMOD} ${PKGDIRMODE}; \ - ${FIND} conf html -type f -printx | ${XARGS} ${CHMOD} ${SHAREMODE}; \ + (cd ${WRKSRC} && \ ${PAX} -rw -pe -s "/html/ntp4/" html ${DOCDIR}; \ - ${PAX} -rw -pe -s "/conf/ntp4/" conf ${EXAMPLESDIR} + ${PAX} -rw -pe -s "/conf/ntp4/" conf ${EXAMPLESDIR}); \ + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${ALL_NTP_DOCS}; \ + ${FIND} ${ALL_NTP_DOCS} -type d -printx | ${XARGS} ${CHMOD} ${PKGDIRMODE}; \ + ${FIND} ${ALL_NTP_DOCS} -type f -printx | ${XARGS} ${CHMOD} ${SHAREMODE}; .include "../../mk/bsd.prefs.mk" |