mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
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
This commit is contained in:
parent
820512178b
commit
037ee92250
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user