On Monday 23 October 2006 17:23, Josh Carroll wrote:
> For ports without "make config" you can edit
> /usr/local/etc/pkgtools.conf and edit MAKE_ARGS, something like:
>
> MAKE_ARGS = {
>       'lang/perl5.8' => 'ENABLE_SUIDPERL=yes',
> }
>
> Of course, this only affects portupgrade/portinstall/etc. If you want
> it to work for manual building of the port with make in the port dir,
> you can alternatively edit /etc/make.conf and add something like:
>
> .if ${.CURDIR:M*/lang/perl5.8}
> ENABLE_SUIDPERL=yes
> .endif

There is also sysutils/portconf  that abstracts this approach. Setting flags 
in pkgtools.conf doesn't always work because sometimes a port will be 
installed as a side-effect of another port and wont get the correct arguments 
from  MAKE_ARGS.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to