ports structure and improvement suggestions

Sideris Michael msid at daemons.gr
Tue May 9 10:57:38 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:
> >On Mon, May 08, 2006 at 10:23:26PM +0200, Pav Lucistnik wrote:
> >> Sideris Michael p??e v po 08. 05. 2006 v 23:09 +0300:
> >>
> >> > Edit its Makefile defining the KNOBS you want
> >>
> >> You should never manually edit any files under /usr/ports
> >
> >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:
> 
> # Vpopmail
> .if ${.CURDIR:N*mail/vpopmail}==""
> RELAYCLEAR=40
> WITH_SUID_VCHKPW=yes
> .endif

Very nice. This is something worth mentioning even in the documentation.
Even if it is not a mainstream method to customize a port.


More information about the freebsd-ports mailing list