aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2024-06-19 13:09:28 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2024-06-19 13:21:40 +0000
commit5046f2d40ba2fdf6bedef564c7f4da6bb6fd199d (patch)
treec959eba86546928c8eee38a15966032abc1450e5
parentc2f3b7d631f9fe9b6187f71df2d28bf4a389ab75 (diff)
downloadports-5046f2d40ba2fdf6bedef564c7f4da6bb6fd199d.tar.gz
ports-5046f2d40ba2fdf6bedef564c7f4da6bb6fd199d.zip
graphics/mesa: libdrm is used by all component
libosmesa also needs libdrm as a dep, so add it for every mesa component. No functional changes intended. Sponsored by: Beckhoff Automation GmbH & Co. KG
-rw-r--r--graphics/libosmesa/Makefile1
-rw-r--r--graphics/mesa-dri/Makefile.common5
2 files changed, 4 insertions, 2 deletions
diff --git a/graphics/libosmesa/Makefile b/graphics/libosmesa/Makefile
index 12cdb2ef0e38..2c3d7c7dc9b7 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 43e549a2a072..6e9bb1fcf85f 100644
--- a/graphics/mesa-dri/Makefile.common
+++ b/graphics/mesa-dri/Makefile.common
@@ -32,9 +32,10 @@ BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR}
USES+= xorg
.endif
.endif
+
+LIB_DEPENDS+= libdrm.so:graphics/libdrm
.if ${COMPONENT} != osmesa
-LIB_DEPENDS+= libdrm.so:graphics/libdrm \
- libexpat.so:textproc/expat2
+LIB_DEPENDS+= libexpat.so:textproc/expat2
.endif
USES+= compiler:c++11-lib bison meson pathfix pkgconfig \