Skip to content

Commit

Permalink
graphics/mesa-libs: Fix LIB_DEPENDS
Browse files Browse the repository at this point in the history
Mesa itself does not depend on libOpenGL.so from libglvnd but it needs
libglvnd at build stage.
Also it doesn't not depend on libwayland-egl.so but on libwayland-server.so
and libwayland-client.so

Differential Revision:	https://reviews.freebsd.org/D44831
PR:			278324
Reported by:		autodep
Reviewed by:		bapt
Sponsored by:		Beckhoff Automation GmbH & Co. KG
  • Loading branch information
evadot committed Apr 18, 2024
1 parent 803124d commit 171cdaf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions graphics/mesa-libs/Makefile
@@ -1,5 +1,6 @@
PORTNAME= mesa-libs
PORTVERSION= ${MESAVERSION}
PORTREVISION= 1
CATEGORIES= graphics

COMMENT= OpenGL libraries that support GLX and EGL clients
Expand All @@ -10,7 +11,7 @@ LICENSE_FILE= ${WRKSRC}/docs/license.rst

USES= llvm:noexport

LIB_DEPENDS= libOpenGL.so:graphics/libglvnd
BUILD_DEPENDS= libglvnd>=0:graphics/libglvnd

OPTIONS_GROUP= PLATFORM
OPTIONS_GROUP_PLATFORM= PLATFORM_X11 PLATFORM_WAYLAND
Expand All @@ -24,7 +25,7 @@ OPTIONS_SUB= yes

WAYLAND_DESC= Enable support for the Wayland platform in EGL
WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.8:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland
WAYLAND_LIB_DEPENDS= libwayland-server.so:graphics/wayland
WAYLAND_IMPLIES= PLATFORM_WAYLAND

ZSTD_DESC= Use ZSTD for shader cache
Expand Down

0 comments on commit 171cdaf

Please sign in to comment.