diff options
author | Jonathan Lemon <jlemon@FreeBSD.org> | 1997-08-28 18:23:40 +0000 |
---|---|---|
committer | Jonathan Lemon <jlemon@FreeBSD.org> | 1997-08-28 18:23:40 +0000 |
commit | fac6290362491761d12b184f3a33962aaa771977 (patch) | |
tree | 6fddef885f75d50783e101ab1acc02b8d7cb5bf2 /usr.bin | |
parent | b9c72653a1021e08f6836cf1ef0215e3860b6ce9 (diff) | |
download | src-fac6290362491761d12b184f3a33962aaa771977.tar.gz src-fac6290362491761d12b184f3a33962aaa771977.zip |
Make X11 support in doscmd dependent on the actual libX11.a library and
include directory, rather than X11BASE. This fixes the build for people
who only have the shared X11 distribution installed.
Requested-by: A Joseph Koshy <koshy@india.hp.com>
Notes
Notes:
svn path=/head/; revision=28876
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/doscmd/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/doscmd/Makefile b/usr.bin/doscmd/Makefile index 29ac73eac8ef..c8754e79291b 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 |