[Bug 241568] graphics/libGLU: Update to 9.0.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Jun 2021 15:27:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241568

--- Comment #6 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Jan Beich from comment #5)
> libGLU seems to hardcode dependency on libGL.so (aka GLX or OpenGL on X11)
> when libOpenGL.so would be enough.

Nevermind, libglvnd without X11 creates opengl.pc -> gl.pc which is enough for
libGLU with the following workaround:

diff --git a/graphics/libGLU/Makefile b/graphics/libGLU/Makefile
index d1f12b8e98b7..dc5f47675023 100644
--- a/graphics/libGLU/Makefile
+++ b/graphics/libGLU/Makefile
@@ -14,7 +14,7 @@ USES=         gl libtool pathfix pkgconfig tar:xz xorg
 GNU_CONFIGURE= yes
 CONFIGURE_ARGS=        --disable-static
 INSTALL_TARGET=        install-strip
-USE_GL=                gl
+USE_GL=                egl
 USE_LDCONFIG=  yes

 .include <bsd.port.mk>

-- 
You are receiving this mail because:
You are the assignee for the bug.