Subject: bin/1742: xditview compile could be smarter
To: None <gnats-bugs@gnats.netbsd.org>
From: None <carrel@cisco.com>
List: netbsd-bugs
Date: 11/08/1995 13:32:23
>Number: 1742
>Category: bin
>Synopsis: Groff makefile could be smarter about making xditview
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 8 17:05:02 1995
>Last-Modified:
>Originator: David Carrel
>Organization:
The Toolshed
>Release: NetBSD-current supped 8 Nov 1995
>Environment:
System: NetBSD spy 1.1_ALPHA NetBSD 1.1_ALPHA (DAVE) #20: Sat Oct 28 11:37:15 PDT 1995 carrel@spy:/.a/haydon/home/NetBSD/src/sys/arch/i386/compile/DAVE i386
>Description:
The groff Makefile does not make xditview, but it could be smarter
about deciding when to make xditview.
>How-To-Repeat:
cd /usr/src/gnu/usr.bin/groff ; make
>Fix:
The following patch will make the groff makefile "smart" about
whether or not to make xditview. On systems with both X includes and X
libs in a standard place, xditview will get made.
The patch should be applied to /usr/src/gnu/usr.bin/groff/Makefile
----------------------------------------------------------------------------
*** Makefile.orig Thu Oct 12 20:20:58 1995
--- Makefile Wed Nov 8 13:22:09 1995
***************
*** 6,13 ****
tfmtodit addftinfo pfbtops psbb \
devices tmac mm man
! # don't do xditview; we don't want to have to deal w/X not being installed
! #SUBDIR+= xditview
# BSD already provides soelim
MISC= soelim
--- 6,19 ----
tfmtodit addftinfo pfbtops psbb \
devices tmac mm man
! # If X includes exist, assume we can make xditview
! .if exists(/usr/X11/include/X11/X.h) || \
! exists(/usr/X11R6/include/X11/X.h) || \
! exists(/usr/X11R5/include/X11/X.h) || \
! exists(/usr/X11R4/include/X11/X.h) || \
! exists(/usr/X386/include/X11/X.h)
! SUBDIR+= xditview
! .endif
# BSD already provides soelim
MISC= soelim
>Audit-Trail:
>Unformatted: