From 522aab930c1ec6211893c466b43cee4f55fcfa94 Mon Sep 17 00:00:00 2001 From: Paul Traina Date: Sat, 29 Jul 1995 17:47:53 +0000 Subject: [PATCH] Don't build xditview unless the actual include files for X11 are present. Merely checking for the directory is -not- sufficient, since the XFree86 non-programmers distribution has that directory to hold bitmaps. --- gnu/usr.bin/groff/xditview/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/usr.bin/groff/xditview/Makefile b/gnu/usr.bin/groff/xditview/Makefile index 3c6d2b60e9e..9aa11dcfeba 100644 --- a/gnu/usr.bin/groff/xditview/Makefile +++ b/gnu/usr.bin/groff/xditview/Makefile @@ -1,4 +1,4 @@ -.if exists(${X11BASE}/include) +.if exists(${X11BASE}/include/X11/Xlib.h) .if exists(${X11BASE}/lib) .if exists(${DESTDIR}${X11BASE}/bin) .if exists(${DESTDIR}${X11BASE}/man/man1)