Date: Tue, 24 Feb 2004 02:46:12 +0300 From: Rodion Novoselov <rodion@rndex.ru> To: freebsd-ports@freebsd.org Subject: Re: Global ports customization Message-ID: <20040223234612.GC53330@mossy.its.rndex.ru> In-Reply-To: <20040223231610.GM7466@sirius.firepipe.net> References: <20040223211817.GA53330@mossy.its.rndex.ru> <20040223212716.GA29804@xor.obsecurity.org> <20040223213952.GL7466@sirius.firepipe.net> <20040223225734.GB53330@mossy.its.rndex.ru> <20040223231610.GM7466@sirius.firepipe.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-02-23 at 18:16, Will Andrews wrote: > On Tue, Feb 24, 2004 at 01:57:34AM +0300, Rodion Novoselov wrote: > > It's right. But I'm used to keeping the collection in the non-standard > > place and therefore I'm made to define PORTSDIR on my own in the only > > possible place - /etc/make.conf. So, again, PORTSDIR will always be > > defined :-) > > You can change PORTSDIR conditionally too. ;) > > Regards, > -- > wca I sad, It's sure not to work. Make.conf is included from bsd.sys.mk, therefore the actual sequence of definitions will be like this: # it came around from /etc/make.conf first .if defined(PORTSDIR) PORTSDIR= /foo/bar .endif # and it came from /usr/share/mk/bsd.port.mk later PORTSDIR?= /usr/ports And it's proved to set PORTSDIR to /usr/ports instead of /foo/bar :-(
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040223234612.GC53330>