git: fc5168cd3d8d - main - graphics/mesa: Stop adding libglapi.so as a deps when not needed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Dec 2022 19:01:42 UTC
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc5168cd3d8df1d18fa86b8a1b550efeae0b8c49 commit fc5168cd3d8df1d18fa86b8a1b550efeae0b8c49 Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2022-12-08 17:59:19 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-12-08 19:00:49 +0000 graphics/mesa: Stop adding libglapi.so as a deps when not needed Not every mesa port needs this lib so stop adding a dep on it if not needed. Sponsored by: Beckhoff Automation GmbH & Co. KG --- graphics/libosmesa/Makefile | 3 ++- graphics/mesa-dri/Makefile | 3 ++- graphics/mesa-dri/Makefile.common | 3 --- graphics/mesa-gallium-va/Makefile | 2 +- graphics/mesa-gallium-vdpau/Makefile | 2 +- graphics/mesa-gallium-xa/Makefile | 2 +- lang/clover/Makefile | 1 + 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/graphics/libosmesa/Makefile b/graphics/libosmesa/Makefile index ba511d86c6db..edca4a2405e6 100644 --- a/graphics/libosmesa/Makefile +++ b/graphics/libosmesa/Makefile @@ -8,7 +8,8 @@ WWW= https://www.mesa3d.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/docs/license.rst -LIB_DEPENDS+= libLLVM-${LLVM_DEFAULT}.so:devel/llvm${LLVM_DEFAULT} +LIB_DEPENDS+= libLLVM-${LLVM_DEFAULT}.so:devel/llvm${LLVM_DEFAULT} \ + libglapi.so:graphics/mesa-libs USES= xorg USE_XORG= xorgproto diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile index e4fe1b570261..956cfb1d6f3e 100644 --- a/graphics/mesa-dri/Makefile +++ b/graphics/mesa-dri/Makefile @@ -5,7 +5,8 @@ CATEGORIES= graphics COMMENT= OpenGL hardware acceleration drivers for DRI2+ WWW= https://www.mesa3d.org/ -LIB_DEPENDS+= libLLVM-${LLVM_DEFAULT}.so:devel/llvm${LLVM_DEFAULT} +LIB_DEPENDS+= libLLVM-${LLVM_DEFAULT}.so:devel/llvm${LLVM_DEFAULT} \ + libglapi.so:graphics/mesa-libs OPTIONS_GROUP= PLATFORM OPTIONS_GROUP_PLATFORM= PLATFORM_X11 PLATFORM_WAYLAND diff --git a/graphics/mesa-dri/Makefile.common b/graphics/mesa-dri/Makefile.common index 545d2fdbb405..f45f8d7250ff 100644 --- a/graphics/mesa-dri/Makefile.common +++ b/graphics/mesa-dri/Makefile.common @@ -41,9 +41,6 @@ USES+= xorg .if ${COMPONENT} != osmesa LIB_DEPENDS+= libdrm.so:graphics/libdrm .endif -.if ${COMPONENT} != libs -LIB_DEPENDS+= libglapi.so:graphics/mesa-libs -.endif .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le LIB_DEPENDS+= libunwind.so:devel/libunwind .endif diff --git a/graphics/mesa-gallium-va/Makefile b/graphics/mesa-gallium-va/Makefile index b8b94c8ff3b1..072f8257d2a5 100644 --- a/graphics/mesa-gallium-va/Makefile +++ b/graphics/mesa-gallium-va/Makefile @@ -1,6 +1,6 @@ PORTNAME= mesa-gallium-va PORTVERSION= ${MESAVERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics COMMENT= Mesa Gallium VAAPI drivers diff --git a/graphics/mesa-gallium-vdpau/Makefile b/graphics/mesa-gallium-vdpau/Makefile index cc581fe1f3d3..8c8d3461003d 100644 --- a/graphics/mesa-gallium-vdpau/Makefile +++ b/graphics/mesa-gallium-vdpau/Makefile @@ -1,6 +1,6 @@ PORTNAME= mesa-gallium-vdpau PORTVERSION= ${MESAVERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics COMMENT= Mesa Gallium VDPAU drivers diff --git a/graphics/mesa-gallium-xa/Makefile b/graphics/mesa-gallium-xa/Makefile index f741405337d0..81ff7f58f808 100644 --- a/graphics/mesa-gallium-xa/Makefile +++ b/graphics/mesa-gallium-xa/Makefile @@ -1,6 +1,6 @@ PORTNAME= mesa-gallium-xa PORTVERSION= ${MESAVERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics COMMENT= Mesa Gallium XA state tracker diff --git a/lang/clover/Makefile b/lang/clover/Makefile index 7c3d13c9be68..c8f6dca6412b 100644 --- a/lang/clover/Makefile +++ b/lang/clover/Makefile @@ -1,5 +1,6 @@ PORTNAME= clover PORTVERSION= ${MESAVERSION} +PORTREVISION= 1 CATEGORIES= lang COMMENT= Mesa OpenCL implementation for AMD GPUs