Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2024 06:14:13 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 126c15bad065 - 2024Q2 - graphics/libosmesa: Remove expat from LIB_DEPENDS
Message-ID:  <202404300614.43U6ED7T073462@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q2 has been updated by manu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=126c15bad065d59258188f1426ed206b9308551c

commit 126c15bad065d59258188f1426ed206b9308551c
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-04-18 08:45:46 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-04-30 06:13:34 +0000

    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
    
    (cherry picked from commit bed3b0ad509eca940c9a368658a69c9e6210cdec)
---
 graphics/libosmesa/Makefile       | 1 +
 graphics/mesa-dri/Makefile.common | 4 ++--
 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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404300614.43U6ED7T073462>