summaryrefslogtreecommitdiff
path: root/x11/Xaw3d
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2011-02-17 16:59:22 +0000
committergdt <gdt@pkgsrc.org>2011-02-17 16:59:22 +0000
commit346cb10093ddc2137c3711352216ea1e481b599c (patch)
treef4488c7d936384b55f6c7f542fdbe233d6703055 /x11/Xaw3d
parentd855a661c1d483dad3b18e327e197cf1c5632121 (diff)
downloadpkgsrc-346cb10093ddc2137c3711352216ea1e481b599c.tar.gz
Ensure created file ${PLIST_SRC} is writable.
Without a chmod +w, building fails because the file copied from pkgsrc is not writable if the sources are 444, as is the case with CVSREAD=t.
Diffstat (limited to 'x11/Xaw3d')
-rw-r--r--x11/Xaw3d/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/Xaw3d/Makefile b/x11/Xaw3d/Makefile
index d2ae2ee2baf..ae07266212b 100644
--- a/x11/Xaw3d/Makefile
+++ b/x11/Xaw3d/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2009/05/03 11:50:46 tron Exp $
+# $NetBSD: Makefile,v 1.56 2011/02/17 16:59:22 gdt Exp $
DISTNAME= Xaw3d-1.5E
PKGREVISION= 4
@@ -36,6 +36,7 @@ post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/Xaw3d
${INSTALL_DATA} ${WRKSRC}/README.XAW3D ${DESTDIR}${PREFIX}/share/doc/Xaw3d
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ ${CHMOD} +w ${PLIST_SRC}
.if ${OPSYS} == "IRIX"
${INSTALL_DATA} /usr/lib${ABI}/libXaw3d* ${DESTDIR}${PREFIX}/lib/
${RM} -f /usr/lib${ABI}/libXaw3d*