Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2008 12:35:09 -0600
From:      Paul Schmehl <pauls@utdallas.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: setting X11BASE
Message-ID:  <05E49C593C4BF6198C574305@Macintosh.local>
In-Reply-To: <47c05ebe.Mgeup%2BojPdtp/pFj%perryh@pluto.rain.com>
References:  <47be74b1.pGW9HajDXl3VC5wx%perryh@pluto.rain.com> <200802221307.43940.fbsd.questions@rachie.is-a-geek.net> <47bfd2d6.EvwzDqmqdVQnRjs8%perryh@pluto.rain.com> <47BFD6D1.3020506@bsdforen.de> <47c05ebe.Mgeup%2BojPdtp/pFj%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--On February 23, 2008 9:58:22 AM -0800 perryh@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.

Paul Schmehl (pauls@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05E49C593C4BF6198C574305>