summaryrefslogtreecommitdiff
path: root/security/libsecret/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/libsecret/Makefile')
-rw-r--r--security/libsecret/Makefile30
1 files changed, 13 insertions, 17 deletions
diff --git a/security/libsecret/Makefile b/security/libsecret/Makefile
index 167804e517f3..9d01aa01e974 100644
--- a/security/libsecret/Makefile
+++ b/security/libsecret/Makefile
@@ -1,34 +1,30 @@
PORTNAME= libsecret
-PORTVERSION= 0.20.5
-PORTREVISION= 3
+PORTVERSION= 0.21.7
+PORTREVISION= 1
CATEGORIES= security gnome
MASTER_SITES= GNOME
+DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Library to access the secret service API
-WWW= https://wiki.gnome.org/Projects/Libsecret/
+WWW= https://gitlab.gnome.org/GNOME/libsecret
-LICENSE= LGPL21
+LICENSE= APACHE20 GPLv2+ LGPL21+
+LICENSE_COMB= multi
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR} \
docbook-xsl>=0:textproc/docbook-xsl
LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygobject>0:devel/py-pygobject@${PY_FLAVOR}
-USES= compiler gnome meson pkgconfig python tar:xz vala:build
-USE_GNOME= glib20 intltool introspection:build libxslt:build
+USES= compiler gettext gnome meson pkgconfig python tar:xz vala:build
+USE_GNOME= glib20 introspection:build libxslt:build
-TESTING_UNSAFE= gi.repository.GLib.GError: g-io-error-quark: Remote closed the output
+MESON_ARGS= -Dbash_completion=disabled
-pre-test:
- @${MKDIR} ${BINARY_LINKDIR}
- @${LN} -s ${PYTHON_CMD} ${BINARY_LINKDIR}/python3
+# see PR 287429 / https://gitlab.gnome.org/GNOME/libsecret/-/issues/106
+MESON_ARGS+= -Dc_args="-DHAVE_CMSGCRED"
-.include <bsd.port.pre.mk>
+PIE_UNSAFE= yes
-.if ${COMPILER_TYPE} == clang
-CFLAGS+= -Wno-incompatible-function-pointer-types
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>