- WITH_DEBUG=yes is set by the infrastructure when the DEBUG option

is enabled, so don't do that here [1]
- Also make the port enables the DEBUG option when WITH_DEBUG is
  defined so full debug is enabled.

Reported by:	jbeich [1]
This commit is contained in:
Guido Falsi 2017-10-22 10:31:28 +00:00
parent 45e3d980c4
commit 9835d83a66
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452632

View File

@ -20,8 +20,11 @@ INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DEBUG
.ifdef WITH_DEBUG
OPTIONS_DEFAULT= DEBUG
.endif
DEBUG_CFLAGS= -D_DEBUG
DEBUG_VARS= WITH_DEBUG=yes
DEBUG_CFLAGS_OFF= -DNDEBUG
post-patch: .SILENT