If you happen to compile with something like DESTDIR=/usr/dest//usr2/data/freebsd/src.940225 & that DESTDIR has no X386 tree, it doesnt compile. If you later say, "yes that compiled clean, Im happy, install in /" (which does have an X tree) setenv DESTDIR / make install it blows up because it never compiled ! Solution: compile on one set of if's install on a larger set of if's *** old/src/gnu/usr.bin/groff/xditview/Makefile Sat Dec 3 19:40:18 1994 --- new/src/gnu/usr.bin/groff/xditview/Makefile Sat Dec 3 19:44:23 1994 *************** *** 1,8 **** .if exists(${X11BASE}/include) .if exists(${X11BASE}/lib) - .if exists(${DESTDIR}${X11BASE}/bin) - .if exists(${DESTDIR}${X11BASE}/man/man1) - .if exists(${DESTDIR}${X11BASE}/lib/X11/app-defaults) BINDIR= ${X11BASE}/bin MANDIR= ${X11BASE}/man/man --- 1,5 ---- *************** *** 17,22 **** --- 14,22 ---- ${X11BASE}/lib/libXt.a ${X11BASE}/lib/libXext.a \ ${X11BASE}/lib/libX11.a + .if exists(${DESTDIR}${X11BASE}/bin) + .if exists(${DESTDIR}${X11BASE}/man/man1) + .if exists(${DESTDIR}${X11BASE}/lib/X11/app-defaults) afterinstall: install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ ${.CURDIR}/GXditview.ad \