Subject: Re: groff updated to 1.19.2
To: Matthias Scheler <tron@zhadum.org.uk>
From: Thomas Klausner <wiz@NetBSD.org>
List: current-users
Date: 02/07/2006 00:06:36
--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Mon, Feb 06, 2006 at 10:23:56PM +0000, Matthias Scheler wrote:
> But it breaks the build because it tries to install
> things into "/usr/X11R6":
>
> /src/tools/bin/nbinstall -c -p -r -m 644 /src/NetBSD-current/src/gnu/dist/groff/src/devices/xditview/GXditview.ad /usr/X11R6/lib/X11/app-defaults/GXditview
> nbinstall: /usr/X11R6/lib/X11/app-defaults/inst.10935a: mkstemp: Permission denied
>
> *** Failed target: install_data
> *** Failed command: /src/tools/bin/nbinstall -c -p -r -m 644 /src/NetBSD-current/src/gnu/dist/groff/src/devices/xditview/GXditview.ad /usr/X11R6/lib/X11/app-defaults/GXditview
> *** Error code 1
>
> Stop.
> nbmake: stopped in /export/home/tron/obj/tools/groff/build/src/devices/xditview
The attached patch might fix it, but it's late -- if someone can
confirm that fixes the problem, please commit it, otherwise I'll
test it tomorrow.
Cheers,
Thomas
--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="groff.diff"
Index: Makefile
===================================================================
RCS file: /cvsroot/src/tools/groff/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- Makefile 6 Feb 2004 00:06:53 -0000 1.27
+++ Makefile 6 Feb 2006 23:05:09 -0000
@@ -5,6 +5,8 @@
ALL_TARGET= src/include all
MAKE_ARGS= bindir=${TOOLDIR}/lib/groff MAKEINFO=${TOOL_MAKEINFO:Q} \
INSTALL_INFO=${TOOL_INSTALL_INFO:Q}
+# we don't need any of the X applications
+CONFIGURE_ARGS+= --without-x
TMACDIR= ${TOOLDIR}/share/groff/tmac
SITETMACDIR= ${TOOLDIR}/share/groff/site-tmac
--BOKacYhQ+x31HxR3--