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
main
Baptiste Daroussin 2024-04-15 14:22:04 +02:00
parent 820512178b
commit 037ee92250
1 changed files with 5 additions and 3 deletions

View File

@ -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}