summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoragc <agc>2003-05-01 12:34:38 +0000
committeragc <agc>2003-05-01 12:34:38 +0000
commitcf951abe24c37ce38c32d6483e93ef1d995393ed (patch)
treeeada3e873c56cb56c46c5af475672e443b23c18e /graphics
parent78a1178e518b2be9dbac912dbe574a60d648e0f6 (diff)
downloadpkgsrc-cf951abe24c37ce38c32d6483e93ef1d995393ed.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')
-rw-r--r--graphics/lcms/Makefile4
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"