Date: Tue, 27 Jul 1999 12:20:02 -0700 (PDT) From: Doug <Doug@gorean.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/12825: doscmd build depends on X Message-ID: <199907271920.MAA69138@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/12825; it has been noted by GNATS. From: Doug <Doug@gorean.org> To: sheldonh@FreeBSD.org Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/12825: doscmd build depends on X Date: Tue, 27 Jul 1999 12:18:40 -0700 (PDT) On Tue, 27 Jul 1999 sheldonh@FreeBSD.org wrote: > State-Changed-From-To: open->feedback > This one's bitten me before. Can you confirm that it was pilot error and > not some other problem? I don't see how it could be pilot error to have an empty /usr/X11R6 directory. :) In any case, a quick look at the Makefile for doscmd shows this: .if exists(${X11BASE}/include/X11/X.h) && exists(${XLIBDIR}/libX11.a) CFLAGS+= -I. -I${X11BASE}/include -DDISASSEMBLER LDADD= -L${XLIBDIR} -lX11 DPADD= ${XLIBDIR}/libX11.a .else CFLAGS+= -I. -DDISASSEMBLER -DNO_X .endif When it failed for me the error was directly related to lX11, so I'd say that this is a genuine bug given that I didn't have either one of those files (although I did have an empty /usr/X11R6 directory) and yet make tried to link against libX11 anyway. I vaguely remember having some odd problems with the .if exists test a while back when I was working on a port, but I'm far from a make expert, so I couldn't really say where to look for this. Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907271920.MAA69138>