From owner-freebsd-bugs Tue Jul 27 12:20: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 725401535D for ; Tue, 27 Jul 1999 12:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA69138; Tue, 27 Jul 1999 12:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 27 Jul 1999 12:20:02 -0700 (PDT) Message-Id: <199907271920.MAA69138@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Doug Subject: Re: bin/12825: doscmd build depends on X Reply-To: Doug Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/12825; it has been noted by GNATS. From: Doug 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