Date: Wed, 10 May 2006 20:21:16 +0200 From: martinko <martinkov@pobox.sk> To: freebsd-ports@freebsd.org Subject: Re: ports structure and improvement suggestions Message-ID: <e3taut$8tt$1@sea.gmane.org> In-Reply-To: <790a9fff0605090831o4e8efbaarf53ca844bb348758@mail.gmail.com> References: <20060508200926.GA6005@daemons.gr> <1147119806.18944.59.camel@ikaros.oook.cz> <20060508203709.GA32661@daemons.gr> <747dc8f30605090333s39680f91l79a2beddd2f8b829@mail.gmail.com> <20060509144751.GU3099@numachi.com> <790a9fff0605090831o4e8efbaarf53ca844bb348758@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Scot Hetzel wrote: > On 5/9/06, Brian Reichert <reichert@numachi.com> wrote: >> On Tue, May 09, 2006 at 07:33:11AM -0300, Renato Botelho wrote: >> > On 5/8/06, Sideris Michael <msid@daemons.gr> wrote: >> > >Says who? I know it is not the right way to keep my KNOBS saved, but >> > >nobody prevents me from >> > >defining a knob somewhere in a Makefile. Plus, I used it just to >> provide >> > >an example of a way >> > >to do port customization. >> > >> > You can use /etc/make.conf to do it: >> >> Isn't this what pkgtools.conf is for? >> >> > # Vpopmail >> > .if ${.CURDIR:N*mail/vpopmail}=="" >> > RELAYCLEAR=40 >> > WITH_SUID_VCHKPW=yes >> > .endif >> >> MAKE_ARGS = { >> ... >> 'mail/vpopmail' => 'RELAYCLEAR=40 WITH_SUID_VCHKPW=yes', >> ... >> } >> > The problem with pkgtools.conf (and all the other port management > tools) is that it only works for the port that you are currently > building. If that port has dependancies, the settings in > pkgtools.conf for the dependancies are not applied to the dependent > port. Instead you need to build the dependent ports first. > > Where as putting the variable into make.conf, will allow the dependent > port to always build with that setting. > > Scot > -- why is it so ?? i discovered this some time ago but have always been wondering why does it work this "unlogical" way.. m.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e3taut$8tt$1>