pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xorg-imake When doing an UNPRIVILEGED install, it ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d7216500dbc
branches:  trunk
changeset: 498313:1d7216500dbc
user:      reed <reed%pkgsrc.org@localhost>
date:      Fri Aug 19 16:46:52 2005 +0000

description:
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:

 x11/xorg-imake/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 419966287e6e -r 1d7216500dbc x11/xorg-imake/Makefile
--- a/x11/xorg-imake/Makefile   Fri Aug 19 16:18:02 2005 +0000
+++ b/x11/xorg-imake/Makefile   Fri Aug 19 16:46:52 2005 +0000
@@ -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 @@
                ${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}||"        \



Home | Main Index | Thread Index | Old Index