Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 1996 09:32:38 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        jhs@freebsd.org
Cc:        current@freebsd.org, jkh@freebsd.org
Subject:   Re: xditview
Message-ID:  <199606190002.JAA26773@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199606181014.MAA01844@vector.jhs.no_domain> from "Julian H. Stacey" at Jun 18, 96 12:14:49 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Julian H. Stacey stands accused of saying:
> 
> It seems xditview was removed from src/gnu/usr.bin/groff/
> (with today's just received ctm patch: src-cur.1896)
> 
> I seem to recall someone complaining it wouldnt compile if there was no
> X tree resident, could it have been removed just because of that ? !

Actually, it would cause 'make world' to fail if /usr/X11R6 were present
but not complete (eg. only libraries were present, say for running emacs),
or not writable (eg. mounted readonly via NFS), or if you built on a
machine with no X and then tried 'make reinstall' onto one that had
X, the 'reinstall' would fail.

> A better solution may be something like:
> src/gnu/usr.bin/groff/Makefile:
> 	.if exists(${X11BASE}/include)
> 	.if exists(${X11BASE}/lib)
> 	SUBDIR +=xditview

You would need to add a writability test too.  I would have been happy
with the build or install failing and being ignored, but I couldn't 
come up with a way for it to be done tidily.

> Julian H. Stacey	jhs@freebsd.org		http://www.freebsd.org/~jhs/

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606190002.JAA26773>