[Bug 251058] graphics/cairo: cannot build without X11 if mesa-libs was built without PLATFORM_X11
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Nov 29 19:27:02 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251058
Jan Beich <jbeich at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|graphics/cairo - "GL/gl.h |graphics/cairo: cannot
|not found" |build without X11 if
| |mesa-libs was built without
| |PLATFORM_X11
--- Comment #8 from Jan Beich <jbeich at FreeBSD.org> ---
If mesa-libs was built with PLATFORM_X11 disabled then libGL.so won't exist, so
`pkg-config gl` fails. However, the port passes --enable-gl because
--enable-egl cannot be used standalone: needs either GLX (via X11) or GLESV2
but GLESV2 isn't enabled by default.
Without review D25020 fixing this is complicated: both basic OpenGL and X11
extensions are part of the same library. Until then enable GLESV2 instead of
OPENGL. Upstream isn't active nowadays, and most distributions switched to
libglvnd.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-desktop
mailing list