Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 2021 23:10:58 GMT
From:      Adriaan de Groot <adridg@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5739a98d1d68 - main - Uses/qmake.mk: fix build WITH_DEBUG
Message-ID:  <202105042310.144NAwdu091534@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by adridg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5739a98d1d68c09ff0dbb2c4ab29f02a82d16610

commit 5739a98d1d68c09ff0dbb2c4ab29f02a82d16610
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2021-05-03 20:47:44 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2021-05-04 23:10:26 +0000

    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
---
 Mk/Uses/qmake.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mk/Uses/qmake.mk b/Mk/Uses/qmake.mk
index 471d4fdbc094..1524aed3d95d 100644
--- a/Mk/Uses/qmake.mk
+++ b/Mk/Uses/qmake.mk
@@ -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 "



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105042310.144NAwdu091534>