aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2024-04-18 08:45:46 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2024-04-18 12:22:16 +0000
commitbed3b0ad509eca940c9a368658a69c9e6210cdec (patch)
treec958e0dd000aeb4b8946c666fcb6c3d8016bcfa9
parent97bc401f17fb706d122d0fb8ebe85cd7b5880297 (diff)
downloadports-bed3b0ad509eca940c9a368658a69c9e6210cdec.tar.gz
ports-bed3b0ad509eca940c9a368658a69c9e6210cdec.zip
graphics/libosmesa: Remove expat from LIB_DEPENDS
It's not needed for this mesa component. Differential Revision: https://reviews.freebsd.org/D44828 PR: 278324 Reported by: autodep Reviewed by: bapt Sponsored by: Beckhoff Automation GmbH & Co. KG
-rw-r--r--graphics/libosmesa/Makefile1
-rw-r--r--graphics/mesa-dri/Makefile.common4
2 files changed, 3 insertions, 2 deletions
diff --git a/graphics/libosmesa/Makefile b/graphics/libosmesa/Makefile
index 17a3660608b2..d26f2b7e043d 100644
--- a/graphics/libosmesa/Makefile
+++ b/graphics/libosmesa/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libosmesa
PORTVERSION= ${MESAVERSION}
+PORTREVISION= 1
CATEGORIES= graphics
COMMENT= Off-Screen Mesa implementation of the OpenGL API
diff --git a/graphics/mesa-dri/Makefile.common b/graphics/mesa-dri/Makefile.common
index a8294346f9dd..5896846fdd8b 100644
--- a/graphics/mesa-dri/Makefile.common
+++ b/graphics/mesa-dri/Makefile.common
@@ -35,14 +35,14 @@ LICENSE_FILE= ${WRKSRC}/docs/license.rst
COMPONENT= ${PORTNAME:tl:C/^lib//:C/mesa-//}
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR}
-LIB_DEPENDS+= libexpat.so:textproc/expat2
.if ${COMPONENT} != clover
.if ${PORT_OPTIONS:MPLATFORM_X11}
USES+= xorg
.endif
.endif
.if ${COMPONENT} != osmesa
-LIB_DEPENDS+= libdrm.so:graphics/libdrm
+LIB_DEPENDS+= libdrm.so:graphics/libdrm \
+ libexpat.so:textproc/expat2
.endif
USES+= compiler:c++11-lib bison meson pathfix pkgconfig \