Date: Sat, 1 Dec 2001 00:25:02 +0100 From: Erik Trulsson <ertr1013@student.uu.se> To: "Philip J. Koenig" <pjklist@ekahuna.com> Cc: questions@FreeBSD.ORG Subject: Re: Am I forced to install Xfree86? Message-ID: <20011130232502.GA32332@student.uu.se> In-Reply-To: <3C079707.26404.265FFB@localhost> References: <3C06C83C.24008.1EC0AD1@localhost> <3C079707.26404.265FFB@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 30, 2001 at 02:26:15PM -0800, Philip J. Koenig wrote: > On 30 Nov 2001, at 12:27, Erik Trulsson boldly uttered: > > > On Thu, Nov 29, 2001 at 11:43:56PM -0800, Philip J. Koenig wrote: > > > On 30 Nov 2001, at 9:50, Igor Roboul boldly uttered: > > > > > > > On Thu, Nov 29, 2001 at 06:51:26AM -0800, Philip J. Koenig wrote: > > > > > requires retrieving 30MB of Xfree86 files, compiling and installing, > > > > > on a machine that doesn't run X? It seems to have something to do > > > > Check /usr/ports/net/mtr/Makefile and you'll see > > > > WANT_GTK= yes > > > > > > > > > OK, so what if: > > > > > > A) I don't know what GTK is > > > B) I don't know what changing that to "no" will do to the > > > functionality of the port I'm trying to install Changing it to "WANT_GTK=no" will do the same thing as "WANT_GTK=xyz" which is equivalent to "WANT_GTK=yes". The ports makefiles normally only check if a variable is defined or not, the exact value of the variable is not used. (There are a few exceptions to this. For example textproc/docproj requires you to set JADETEX to either "yes" or "no" but the port will stop and complain loudly otherwise.) > > > > Then don't bother about it. > > Ports using WANT_xxx mean: > > " If xxx is installed it will be used, otherwise we will get by > > witout it." > > > That's contrary to my experience. In the described case, the action > was more like "If xxx is installed it will be used, otherwise WE WILL > RETRIEVE AND INSTALL IT." See below. That is the way it works for me anyway, and that is the way it is supposed to work AFAIK. From reading the various makefiles the algorithm is as follows: If WANT_XXX is defined then XXX will be used if it is already installed or if WITH_XXX is defined. If XXX is not installed or if WITHOUT_XXX us defined then XXX will not be used. If XXX is to be used then it will be retrieved and installed if it is not already installed. For those ports that define WITH_XXX or explicitly declare a dependency on another port then that other port will always be used and retreived anmd installed if that has not already been done. > > For mtr, if you do not have X or GTK installed it is not supposed to > > fetch and build it. As far as I can determine from looking at the port > > it doesn't do that either unless you have changed something. > > > I DID NOT change anything. This is a brand-new 4.4-RELEASE install. > One of the very first things I did after rebooting the machine post- > install was to install the mtr port. I didn't change any port > settings, compile settings, or make settings. Then something is wrong somewhere. Just to check I tried building net/mtr on one of my machines which do *not* have X or GTK installed. Neither of them was fetched or installed. My guess is that the error is at your end. *Exactly* what did you do when you tried to install mtr ? -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011130232502.GA32332>