Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2024 12:43:07 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 037ee9225062 - main - security/p11-kit: remove dependency on glib20
Message-ID:  <202404151243.43FCh7GS032202@gitrepo.freebsd.org>

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

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

commit 037ee9225062e94f8ee11811688494a87fc79f67
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-04-15 12:22:04 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-04-15 12:43:05 +0000

    security/p11-kit: remove dependency on glib20
    
    The build system is only depending on glib-2.0 to fetch its prefix via
    pkgconfig
    
    the build system allows to pass directly the said prefix, so let's use
    that instead of adding a dependency on glib 2.0
---
 security/p11-kit/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/security/p11-kit/Makefile b/security/p11-kit/Makefile
index d14fa32e2911..32cd7b7ea4ce 100644
--- a/security/p11-kit/Makefile
+++ b/security/p11-kit/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	p11-kit
 DISTVERSION=	0.25.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security devel
 MASTER_SITES=	https://github.com/p11-glue/${PORTNAME}/releases/download/${DISTVERSION}/
 
@@ -30,8 +30,6 @@ MANPAGES_IMPLIES=	DOCS
 OPTIONS_DEFAULT=	MANPAGES
 
 DOCS_BUILD_DEPENDS=	gtkdoc-scan:textproc/gtk-doc
-DOCS_USES=		gnome
-DOCS_USE=		GNOME=glib20
 DOCS_MESON_TRUE=	gtk_doc
 
 MANPAGES_BUILD_DEPENDS=	xsltproc:textproc/libxslt
@@ -41,6 +39,10 @@ TEST_MESON_TRUE=	test
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MDOCS}
+MESON_ARGS+=		-Dglib_prefix=${LOCALBASE}
+.endif
+
 post-install:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${MV} ${STAGEDIR}${PREFIX}/etc/pkcs11/pkcs11.conf.example ${STAGEDIR}${EXAMPLESDIR}



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