Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2024 12:22:38 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bed3b0ad509e - main - graphics/libosmesa: Remove expat from LIB_DEPENDS
Message-ID:  <202404181222.43ICMcqK017804@gitrepo.freebsd.org>

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

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

commit bed3b0ad509eca940c9a368658a69c9e6210cdec
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-04-18 08:45:46 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-04-18 12:22:16 +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
---
 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?202404181222.43ICMcqK017804>