Install a port with DEBUG options

Robert Huff roberthuff at rcn.com
Thu Apr 11 17:34:23 UTC 2019


Odhiambo Washington writes:

>  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.

	Adding "WITH_DEBUG=yes" to make.conf works for me (in the general
case).


			Respectfully,


				Robert Huff



More information about the freebsd-questions mailing list