1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

graphics/mesa-devel: drop DragonFly cruft

- DPorts hasn't updated since 22.2.b.1392 (2022-08-31)
- DPorts patched to no longer excludes libunwind and anv
- Allow DPorts to pick libelf.so from devel/elfutils
This commit is contained in:
Jan Beich 2024-01-13 19:42:18 +01:00
parent f627e2691d
commit 5b9dfca041

View File

@ -25,10 +25,6 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR}
LIB_DEPENDS= libdrm.so:graphics/libdrm \
libOpenGL.so:graphics/libglvnd \
libexpat.so:textproc/expat2
.if !exists(/usr/lib/libelf.so)
# DragonFly doesn't install it yet
LIB_DEPENDS+= libelf.so:devel/libelf
.endif
USES= bison cpe compiler:c++11-lib meson pkgconfig python:build shebangfix
CPE_VENDOR= mesa3d
@ -55,7 +51,6 @@ OPTIONS_DEFAULT= LIBUNWIND LLVM LTO OPENCL VAAPI VDPAU VKLAYERS WAYLAND X11 ZSTD
OPTIONS_GROUP= GALLIUM VULKAN
OPTIONS_GROUP_GALLIUM= crocus iris panfrost r600 radeonsi
OPTIONS_GROUP_VULKAN= anv hasvk radv
OPTIONS_EXCLUDE_DragonFly= LIBUNWIND anv hasvk
OPTIONS_EXCLUDE_i386= LTO # anv: vkcube fails on vkCreateSwapchainKHR
OPTIONS_EXCLUDE+= ${ARCH:Naarch64:C/.+/panfrost/}
OPTIONS_EXCLUDE+= ${ARCH:Namd64:Ni386:Nx86_64:C/.+/crocus hasvk/}