Building "Kleopatra" with debug symbols

Trond Endrestøl trond.endrestol at ximalas.info
Sun Dec 15 08:22:18 UTC 2019


On Sun, 15 Dec 2019 09:50+0300, dmn wrote:

> On Sat, 14 Dec 2019 20:55:36 +0100 (CET)
> Trond Endrestøl <trond.endrestol at ximalas.info> wrote:
> 
> > Option 1:
> > 
> > Create /usr/ports/security/kleopatra/Makefile.local, giving it this 
> > content:
> 
> Is this Makefile.local stuff documented somewhere?

See Mk/bsd.ports.mk.

> > Option 2:
> > 
> > Add the aforementioned line to /etc/make.conf. Don't forget to remove 
> > or comment it out when you have rebuilt Kleopatra, otherwise all
> > ports will be built with debug symbols, leading to huge executables
> > all over /usr/local.
> 
> You can add WITH_DEBUG_PORTS+=security/kleopatra to make.conf to turn
> on debugging symbols just for security/kleopatra port.

Cool, I didn't know that. I better learn myself some new tricks.

-- 
Trond.


More information about the freebsd-questions mailing list