From owner-freebsd-questions Fri Nov 30 15:13:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from empty1.ekahuna.com (empty1.ekahuna.com [198.144.200.196]) by hub.freebsd.org (Postfix) with ESMTP id 9AFE937B41C for ; Fri, 30 Nov 2001 15:13:40 -0800 (PST) Received: from pc-02 (pc02.ekahuna.com [198.144.200.197]) by empty1.ekahuna.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com; Fri, 30 Nov 2001 15:13:35 -0800 From: "Philip J. Koenig" Organization: The Electric Kahuna Organization To: Philip Hallstrom Date: Fri, 30 Nov 2001 15:13:39 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Am I forced to install Xfree86? Reply-To: pjklist@ekahuna.com Cc: questions@FreeBSD.ORG Message-ID: <3C07A223.17681.51C70E@localhost> References: <3C0795FC.2746.224A5D@localhost> In-reply-to: <20011130143654.L95581-100000@teak.adhesivemedia.com> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 30 Nov 2001, at 14:40, Philip Hallstrom boldly uttered: > > On 30 Nov 2001, at 8:47, Kevin Oberman boldly uttered: > > > > > > From: "Philip J. Koenig" > > > > > > > > Furtheremore, if I were to uncomment "NO_X= true", what would have > > > > happened when I went to install the mtr port, which wanted gtk as a > > > > dependency? Would it automatically not fetch/compile XF86, or would > > > > it do it anyway because gtk is a dependency? Aren't the settings in > > > > make.conf just for building the base system? > > > > > > I'd have to look at the Makefile for mtr to see how it would handle > > > this. Some tools still install without a GUI and others will fail to > > > install, at all. > > > > > > Since I'm not a programmer and I only compile software to create > > pre-written applications, I'm not an expert on makefiles. How > > am I to determine such esoterica as how a port will behave if it > > encounters the directive "NO_X= true" in /etc/make.conf? > > > > > > In a cursory view of the mtr port's Makefile, there is nothing in > > there that references "X" or "X-Windows", or "Xfree86".. only the > > "WANT_GTK= yes" line. > > > > I still contend that life for us lowly non-programmers would be > > vastly more productive if the port's install script simply stopped at > > some point and asked "I see you don't have X installed - do you want > > to install that big monster, or just skip GUI support?". > > Although one could make the argument that it should ask about other > options as well... or perhaps ask any time it needs to install a > dependency... which could get pretty time consuming :) I put the > following in /etc/make.conf and don't think I've had a port try and > install X since... > > NO_GUI=1 > WITHOUT_X11=1 > > -philip I will try to use those as defaults in the future and see what happens. However people seem to be saying that in the example I gave, since X was not already on the system, it "should not" have fetched and installed it. If so, perhaps it was a bug in that particular port. Good suggestion though, I'll change the defaults on my boxes. Only one question: the directives you mention aren't in the /etc/defaults/make.conf here. There is just the previously mentioned "NO_X= " Are there a lot of directives not listed in the defaults file? -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message