diff options
author | reed <reed@pkgsrc.org> | 2005-08-19 16:46:52 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2005-08-19 16:46:52 +0000 |
commit | a85a63c8962caff1f0dc6d7c3c52435029e91a57 (patch) | |
tree | 3a22c5b7f7dd763f1b604764675e11df15240029 /x11/xorg-imake/Makefile | |
parent | f8d7f72e402a680a7bafc6c5c83f3801a108514c (diff) | |
download | pkgsrc-a85a63c8962caff1f0dc6d7c3c52435029e91a57.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/xorg-imake/Makefile')
-rw-r--r-- | x11/xorg-imake/Makefile | 3 |
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}||" \ |