summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1996-08-05 00:44:59 +0000
committerpst <pst@FreeBSD.org>1996-08-05 00:44:59 +0000
commitf7a98547287baffae7708d2fb36ee0d4878b7a92 (patch)
tree67e394743e5eba055fd42e780fcc58bb3df6ae2a /gnu/usr.bin
parent7674ddb3cdf39b552d13805da311b9882f289780 (diff)
downloadFreeBSD-src-f7a98547287baffae7708d2fb36ee0d4878b7a92.zip
FreeBSD-src-f7a98547287baffae7708d2fb36ee0d4878b7a92.tar.gz
Bring xditview back from the grave (part 2).
Fix things so it *really* won't compile if the environment isn't there. This commit has been sitting in my to-do list for 2 months. Xditview should never have been half-removed, so now it's back with a vengance because we want to keep groff intact as a package.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/groff/Makefile2
-rw-r--r--gnu/usr.bin/groff/xditview/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/groff/Makefile b/gnu/usr.bin/groff/Makefile
index 195874e..5cb5306 100644
--- a/gnu/usr.bin/groff/Makefile
+++ b/gnu/usr.bin/groff/Makefile
@@ -5,7 +5,7 @@ SUBDIR= libgroff libdriver libbib\
refer lookbib indxbib lkbib \
tfmtodit addftinfo pfbtops psbb \
devX100 devX100-12 devX75 devX75-12 devascii devdvi devlatin1 \
- devkoi8-r devps tmac mm man
+ devkoi8-r devps tmac mm man xditview
# BSD already provides soelim
MISC= soelim
diff --git a/gnu/usr.bin/groff/xditview/Makefile b/gnu/usr.bin/groff/xditview/Makefile
index b3453e5..301a089 100644
--- a/gnu/usr.bin/groff/xditview/Makefile
+++ b/gnu/usr.bin/groff/xditview/Makefile
@@ -3,6 +3,7 @@
.if exists(${DESTDIR}${X11BASE}/bin)
.if exists(${DESTDIR}${X11BASE}/man/man1)
.if exists(${DESTDIR}${X11BASE}/lib/X11/app-defaults)
+.if defined(X11_BUILD_AVAILABLE)
BINDIR= ${X11BASE}/bin
MANDIR= ${X11BASE}/man/man
@@ -30,6 +31,7 @@ afterinstall:
.endif
.endif
.endif
+.endif
.include "../Makefile.cfg"
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud