Install a port with DEBUG options

Odhiambo Washington odhiambo at
Thu Apr 11 13:45:25 UTC 2019


I need your help.
I need to install mail/exim with DEBUG enabled, and especially
with CFLAGS=-O0 -ggdb
How do I achieve this?

I have tried the following:

make -DWITH_DEBUG=yes

However that does not seem to do what I want.

I am advised that it is possible to enable debug for any port by specifying
something like `DEBUG=yes STRIP=` as make additional arguments.

Someone please help me build mail/exim-mysql with debug options.

Best regards,
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)

More information about the freebsd-questions mailing list