git: 6bf2fe178d5a - 2024Q1 - graphics/mesa-devel: drop DragonFly cruft

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 15 Jan 2024 18:26:05 UTC
The branch 2024Q1 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6bf2fe178d5a0e50e31aa0281240e7d0fe2b1d5c

commit 6bf2fe178d5a0e50e31aa0281240e7d0fe2b1d5c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-01-13 18:42:18 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-01-15 18:24:30 +0000

    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
    
    (cherry picked from commit 5b9dfca041d81d77478594609bcb9285a3239070)
---
 graphics/mesa-devel/Makefile | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 38ff564d5ae5..c34058dd37f2 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -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/}