git: 987fd995a979 - main - devel/qt6-base: Fix configure on live systems

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Sat, 29 Jun 2024 07:42:01 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=987fd995a979e7dd62be780aa3fb665a874d1b28

commit 987fd995a979e7dd62be780aa3fb665a874d1b28
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-06-29 07:32:55 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-06-29 07:41:49 +0000

    devel/qt6-base: Fix configure on live systems
    
    Configure will fail on live systems that have sysutils/lttng-ust
    installed. Disable detection of LTTngUST to remedy this in the
    meantime. I don't think we really need this, though, and it's probably
    best not to rely on an unmaintained port.
    
    PR:             280007
    Reported by:    O. Hartmann <ohartmann@walstatt.org>
---
 devel/qt6-base/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/qt6-base/Makefile b/devel/qt6-base/Makefile
index 3f62825bb99f..dd0c5ef4a01e 100644
--- a/devel/qt6-base/Makefile
+++ b/devel/qt6-base/Makefile
@@ -41,7 +41,8 @@ USE_GL=		egl opengl
 USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30 pango
 USE_LOCALE=	C.UTF-8
 CMAKE_ARGS=	-DOPENSSL_ROOT_DIR="${OPENSSLBASE}"
-CMAKE_ON=	QT_AVOID_CMAKE_ARCHIVING_API \
+CMAKE_ON=	CMAKE_DISABLE_FIND_PACKAGE_LTTngUST \
+		QT_AVOID_CMAKE_ARCHIVING_API \
 		QT_FIND_ALL_PACKAGES_ALWAYS \
 		QT_FEATURE_openssl_linked
 CMAKE_OFF=	QT_FEATURE_eglfs \