git: 0e45a40b7d43 - main - devel/qt6-tools: unbreak with libglvnd/X11=off

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 03 Jun 2023 20:07:17 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e45a40b7d43d322f67b3e9b02fcba8e4de8b2ef

commit 0e45a40b7d43d322f67b3e9b02fcba8e4de8b2ef
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-06-03 19:47:27 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-06-03 20:04:33 +0000

    devel/qt6-tools: unbreak with libglvnd/X11=off
    
    ===>   qt6-tools-6.4.2_1 depends on shared library: libGL.so - not found
    ===>   Installing existing package /packages/All/libglvnd-1.6.0.pkg
    Installing libglvnd-1.6.0...
    Extracting libglvnd-1.6.0: .......... done
    ===>   qt6-tools-6.4.2_1 depends on shared library: libGL.so - not found
    *** Error code 1
---
 devel/qt6-tools/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/qt6-tools/Makefile b/devel/qt6-tools/Makefile
index c7eaa22ac1dd..ccbd02673873 100644
--- a/devel/qt6-tools/Makefile
+++ b/devel/qt6-tools/Makefile
@@ -25,7 +25,7 @@ LIB_DEPENDS=	libvulkan.so:graphics/vulkan-loader \
 
 USES=		cmake compiler:c++17-lang gettext-runtime gl gnome llvm:lib python:build xorg \
 		qt-dist:6
-USE_GL=		gl
+USE_GL=		opengl
 USE_GNOME=	glib20
 USE_QT=		base declarative
 USE_XORG=	x11 xau xcb xdmcp