diff options
author | agc <agc@pkgsrc.org> | 2003-05-01 12:34:38 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2003-05-01 12:34:38 +0000 |
commit | f1cd62835be9c6d6b5f4cd6a01655c02089df2e2 (patch) | |
tree | eada3e873c56cb56c46c5af475672e443b23c18e /graphics/lcms | |
parent | cf20cced3412833d7ceee2de7f19be389229f981 (diff) | |
download | pkgsrc-f1cd62835be9c6d6b5f4cd6a01655c02089df2e2.tar.gz |
Don't change permissions of files under ${WRKSRC} to
${SHAREOWN}:${SHAREGRP}, and then copy the files to ${PREFIX} - this
prevents an ordinary user from deleting the files under ${WRKSRC}.
Instead, copy the files into ${PREFIX} first, then change their ownership.
Diffstat (limited to 'graphics/lcms')
-rw-r--r-- | graphics/lcms/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile index 6a042eefe29..1921c4c6204 100644 --- a/graphics/lcms/Makefile +++ b/graphics/lcms/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2002/09/01 15:15:37 kim Exp $ +# $NetBSD: Makefile,v 1.6 2003/05/01 12:34:38 agc Exp $ # FreeBSD: ports/graphics/lcms/Makefile,v 1.2 2000/12/19 15:36:26 sobomax Exp DISTNAME= lcms-1.06 @@ -17,7 +17,7 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lcms - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC}/doc cd ${WRKSRC}/doc && ${PAX} -rw . ${PREFIX}/share/doc/lcms + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/lcms .include "../../mk/bsd.pkg.mk" |