Add options to a port.

Mel Flynn mel.flynn+fbsd.questions at mailing.thruhere.net
Fri Apr 17 07:59:57 UTC 2009


On Friday 17 April 2009 08:01:00 Dave Hardman wrote:
> 	Following a recent ports updating gnucash crashes with a
> segmentation fault. I've been advised to enable debugging to track down
> the problem. This is done
> by enabling the option --enable-debug to the config. My problem is that
> I don't know how to do this within the ports system. It looks as if this
> is done by adding an option to the makefile. I'm uncertain of what
> changes need to be made.
>
> I would be grateful for advice on this.

One way really:
echo 'CONFIGURE_ARGS+=--enable-debug' > \
 /usr/ports/finance/gnucash/Makefile.local

If portmaintainer would have been kind enough to use CONFIGURE_ARGS+= in the 
Makefile you could've done it 3 ways ;p
-- 
Mel


More information about the freebsd-questions mailing list