Building a port with debug symbols using poudriere

Greg Rivers gcr+freebsd-ports at tharned.org
Thu May 7 00:52:52 UTC 2020


On Wednesday, 6 May 2020 17:49:06 CDT Matthias Andree wrote:
> Am 06.05.20 um 18:05 schrieb Greg Rivers:
> > I need to build bind916 with debug symbols. According to the Makefile, defining "WITH_DEBUG" will accomplish that. Where and how would I set that inside a basic poudriere configuration?
> >
> Either in the port, or you can set WITH_DEBUG_PORTS=dns/bind916 here:
> 
> /usr/local/etc/poudriere.d/make.conf - see CUSOTMISATION and then
> further down "Create optional make.conf" in man poudriere
> 
Thank you Matthias. I had read your manual page reference prior to posting, but it didn't specify the variable name format or how to set its value. Is it a general rule that one can set any variable for any port by specifying:

ANY_VARIABLE_PORTS=category/portname

If a variable needs to have a specific value (vs simply being defined or undefined) is it done like this:

ANY_VARIABLE_PORTS= category/portname=7

-- 
Greg




More information about the freebsd-ports mailing list