git: ae5e2b030d23 - main - x11-toolkits/imgui: Fix build by adding missing dependencies

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 18 Dec 2023 08:12:32 UTC
The branch main has been updated by yuri:

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

commit ae5e2b030d23f6a13b6d304cddeaacd6d667c7e6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-18 08:11:50 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-18 08:11:50 +0000

    x11-toolkits/imgui: Fix build by adding missing dependencies
    
    Reported by:    fallout
---
 x11-toolkits/imgui/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/x11-toolkits/imgui/Makefile b/x11-toolkits/imgui/Makefile
index 635fe753d2c4..63b0ee569190 100644
--- a/x11-toolkits/imgui/Makefile
+++ b/x11-toolkits/imgui/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	imgui
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.90
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -40,14 +41,18 @@ ALLEGRO5_LIB_DEPENDS=		liballegro.so:devel/allegro5 # even though binary doesn't
 
 GLFW_DESC=			Install GLFW backend
 GLFW_CMAKE_BOOL=		IMGUI_BUILD_GLFW_BINDING
+GLFW_USES=			gl
+GLFW_USE=			GL=gl
 GLFW_LIB_DEPENDS=		libglfw.so:graphics/glfw
 
 OPENGL2_DESC=			Install OPENGL2 backend
-OPENGL2_USES=			localbase
+OPENGL2_USES=			gl localbase
+OPENGL2_USE=			GL=gl
 OPENGL2_CMAKE_BOOL=		IMGUI_BUILD_OPENGL2_BINDING
 
 OPENGL3_DESC=			Install OPENGL3 backend
-OPENGL3_USES=			localbase
+OPENGL3_USES=			gl localbase
+OPENGL3_USE=			GL=gl
 OPENGL3_CMAKE_BOOL=		IMGUI_BUILD_OPENGL3_BINDING
 
 SDL2_DESC=			Install SDL2 backend