summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/doscmd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/doscmd/Makefile b/usr.bin/doscmd/Makefile
index 29ac73e..c8754e7 100644
--- a/usr.bin/doscmd/Makefile
+++ b/usr.bin/doscmd/Makefile
@@ -1,6 +1,6 @@
# from BSDI Makefile,v 2.6 1996/04/08 20:06:40 bostic Exp
#
-# $Id: Makefile,v 1.5 1997/08/15 23:41:22 jlemon Exp $
+# $Id: Makefile,v 1.6 1997/08/18 18:48:33 jlemon Exp $
PROG= doscmd
MAN1= doscmd.1
@@ -16,7 +16,7 @@ EXEGRP= bin
BINMODE=2555
EXEMODE=444
-.if exists(${X11BASE})
+.if exists(${X11BASE}/include) && exists(${X11BASE}/lib/libX11.a)
CFLAGS+= -I. -I${X11BASE}/include -DDISASSEMBLER
LDFLAGS+= -L${X11BASE}/lib
LDADD+= -lX11 -lgcc -lc
OpenPOWER on IntegriCloud