git: 5046f2d40ba2 - main - graphics/mesa: libdrm is used by all component
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Jun 2024 13:21:47 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5046f2d40ba2fdf6bedef564c7f4da6bb6fd199d
commit 5046f2d40ba2fdf6bedef564c7f4da6bb6fd199d
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-06-19 13:09:28 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-06-19 13:21:40 +0000
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
---
graphics/libosmesa/Makefile | 1 +
graphics/mesa-dri/Makefile.common | 5 +++--
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 \