[Bug 241568] graphics/libGLU: Update to 9.0.1

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241568

--- Comment #6 from Jan Beich <[email protected]> ---
(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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.