ports structure and improvement suggestions

Brian Reichert reichert at numachi.com
Tue May 9 14:48:07 UTC 2006


On Tue, May 09, 2006 at 07:33:11AM -0300, Renato Botelho wrote:
> On 5/8/06, Sideris Michael <msid at 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',
	...
   }

-- 
Brian Reichert				<reichert at numachi.com>
55 Crystal Ave. #286			Daytime number: (603) 434-6842
Derry NH 03038-1725 USA			BSD admin/developer at large	


More information about the freebsd-ports mailing list