1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Uses/qmake.mk: fix build WITH_DEBUG

When setting WITH_DEBUG, separate debuginfo was **not** created,
although the plists for most Qt5 ports list separate debuginfo.
Take a suggestion from rakuco@ and run with it. I rebuilt all the
ports with USES=qmake and none had issues with separate debuginfo.

No general PORTREVISION bump because the packages in most cases
do not change with default options, and WITH_DEBUG would have
failed to package anyway.

PR:		240494
Reported by:	jbeich
This commit is contained in:
Adriaan de Groot 2021-05-03 22:47:44 +02:00
parent 8152cce6ee
commit 5739a98d1d

View File

@ -77,7 +77,7 @@ QMAKE_ARGS+= -spec ${QMAKESPEC} \
. if defined(WITH_DEBUG)
PLIST_SUB+= DEBUG=""
QMAKE_ARGS+= CONFIG+="debug" \
QMAKE_ARGS+= CONFIG+="debug separate_debug_info" \
CONFIG-="release"
. else
PLIST_SUB+= DEBUG="@comment "