atom feed11 messages in org.freebsd.freebsd-questionssetting X11BASE
FromSent OnAttachments
per...@pluto.rain.comFeb 22, 2008 7:12 am 
MelFeb 22, 2008 12:28 pm 
Paul SchmehlFeb 22, 2008 3:30 pm 
per...@pluto.rain.comFeb 23, 2008 8:11 am 
per...@pluto.rain.comFeb 23, 2008 8:11 am 
Dominic FandreyFeb 23, 2008 8:19 am 
MelFeb 23, 2008 11:59 am 
per...@pluto.rain.comFeb 23, 2008 6:12 pm 
MelFeb 23, 2008 6:32 pm 
Paul SchmehlFeb 23, 2008 6:34 pm 
per...@pluto.rain.comFeb 24, 2008 8:10 am 
Subject:setting X11BASE
From:Paul Schmehl (pau@utdallas.edu)
Date:Feb 23, 2008 6:34:53 pm
List:org.freebsd.freebsd-questions

--On February 23, 2008 9:58:22 AM -0800 per@pluto.rain.com wrote:

I'm finding it especially "interesting" that /etc/make.conf, which to judge from its location is part of the base, depends on a setting from something in the /usr/ports tree.

Well, actually it doesn't. What gives you this impression?

Paul Schmehl reported where LOCALBASE is set: in /usr/ports/Mk/bsd.port.mk

Now I'm being told to add this:

X11BASE=${LOCALBASE}

to /etc/make.conf, so that /etc/make.conf needs LOCALBASE to be set in order to set X11BASE correctly. Is that not a dependency?

You're looking at it in the reverse of what it really is.

LOCALBASE is set in /usr/ports/Mk/bsd.port.mk so that *ports* know where to install stuff. And X11BASE needs to be set to ${LOCALBASE} in /etc/make.conf because *ports* need to know that X11BASE has changed from the previous default of /usr/X11R6.

A dependency is a program that a *port* requires to function properly, not a *location* where ports install their files.