graphics/mesa: Do not add USE_LDCONFIG for every mesa ports

Not every mesa ports provides shared libraries intented for dynamic uses
so stop running ldconfig script for those ports.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
This commit is contained in:
Emmanuel Vadot 2022-12-08 18:53:31 +01:00
parent 07b3e671fb
commit 799245580a
8 changed files with 10 additions and 2 deletions

View File

@ -12,6 +12,7 @@ LIB_DEPENDS+= libLLVM-${LLVM_DEFAULT}.so:devel/llvm${LLVM_DEFAULT}
USES= xorg
USE_XORG= xorgproto
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"

View File

@ -26,6 +26,8 @@ ZSTD_DESC= Use ZSTD for shader cache
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
ZSTD_MESON_ENABLED= zstd
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"

View File

@ -54,8 +54,6 @@ LIB_DEPENDS+= libelf.so:devel/libelf
USES+= compiler:c++11-lib bison meson pathfix pkgconfig \
python:3.6+,build shebangfix tar:xz
USE_LDCONFIG= yes
.if ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld
# --build-id isn't supported by old GNU ld.bfd in base
# Also ld.bfd have problems that seems related to --as-needed

View File

@ -1,5 +1,6 @@
PORTNAME= mesa-gallium-va
PORTVERSION= ${MESAVERSION}
PORTREVISION= 1
CATEGORIES= graphics
COMMENT= Mesa Gallium VAAPI drivers

View File

@ -1,5 +1,6 @@
PORTNAME= mesa-gallium-vdpau
PORTVERSION= ${MESAVERSION}
PORTREVISION= 1
CATEGORIES= graphics
COMMENT= Mesa Gallium VDPAU drivers

View File

@ -1,5 +1,6 @@
PORTNAME= mesa-gallium-xa
PORTVERSION= ${MESAVERSION}
PORTREVISION= 1
CATEGORIES= graphics
COMMENT= Mesa Gallium XA state tracker

View File

@ -30,6 +30,8 @@ ZSTD_DESC= Use ZSTD for shader cache
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
ZSTD_MESON_ENABLED= zstd
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"

View File

@ -19,6 +19,8 @@ LIB_DEPENDS= libOpenCL.so:devel/ocl-icd \
RUN_DEPENDS= libclc>=0.3.0:devel/libclc \
opencl>=0:devel/opencl
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"