summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorreed <reed>2005-08-19 16:46:52 +0000
committerreed <reed>2005-08-19 16:46:52 +0000
commitdd18a8f28e3fcdbab240fdfbc64ed2c8ab433492 (patch)
tree3a22c5b7f7dd763f1b604764675e11df15240029 /x11
parent8a02df408ae7c3ecc8e05c695e6eebc5a7e9d71f (diff)
downloadpkgsrc-dd18a8f28e3fcdbab240fdfbc64ed2c8ab433492.tar.gz
When doing an UNPRIVILEGED install, it failed with:
cannot create /home/reed/pkg/xorg/lib/X11/config/host.def: permission denied I fixed this by chmod NONBINMODE. (Idea from www/apache/Makefile.)
Diffstat (limited to 'x11')
-rw-r--r--x11/xorg-imake/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/xorg-imake/Makefile b/x11/xorg-imake/Makefile
index 7750e53b6ad..b689de86ee9 100644
--- a/x11/xorg-imake/Makefile
+++ b/x11/xorg-imake/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2005/05/23 19:14:14 xtraeme Exp $
+# $NetBSD: Makefile,v 1.20 2005/08/19 16:46:52 reed Exp $
DISTNAME= ${DISTFILES}
PKGNAME= xorg-imake-${XORG_VER}
@@ -78,6 +78,7 @@ pre-install:
${WRKSRC}/xmakefile
post-install:
+ ${CHMOD} ${NONBINMODE} ${X11ROOT}/lib/X11/config/host.def
@${CP} ${X11ROOT}/lib/X11/config/host.def \
${X11ROOT}/lib/X11/config/host.def.orig
@${SED} -e "s|\#define ProjectRoot ${X11ROOT}||" \