git: d1ab05deccf4 - main - x11-toolkits/qt6-declarative: unbreak with libglvnd/X11=off

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

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

commit d1ab05deccf43f28c2e03f46ea322d761e208106
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-06-03 19:36:59 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-06-03 20:04:33 +0000

    x11-toolkits/qt6-declarative: unbreak with libglvnd/X11=off
    
    ===>   qt6-declarative-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-declarative-6.4.2_1 depends on shared library: libGL.so - not found
    *** Error code 1
---
 x11-toolkits/qt6-declarative/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-toolkits/qt6-declarative/Makefile b/x11-toolkits/qt6-declarative/Makefile
index 19107b0a56d6..421f7b986d58 100644
--- a/x11-toolkits/qt6-declarative/Makefile
+++ b/x11-toolkits/qt6-declarative/Makefile
@@ -24,7 +24,7 @@ LIB_DEPENDS=	libdouble-conversion.so:devel/double-conversion \
 
 USES=		cmake compiler:c++17-lang gettext-runtime gl gnome pkgconfig python:3.5+ xorg \
 		qt-dist:6
-USE_GL=		gl
+USE_GL=		opengl
 USE_GNOME=	glib20
 USE_QT=		base shadertools
 USE_XORG=	x11 xau xcb xdmcp