Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2024 14:44:20 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4eb8bb45d330 - main - devel/glib20: Define TEST_DEPENDS and add prepartions to pre-test
Message-ID:  <202406301444.45UEiK5p096513@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by arrowd:

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

commit 4eb8bb45d3309525a5e8fe9a38cefa5bf26d5621
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-06-30 14:43:29 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-06-30 14:44:11 +0000

    devel/glib20: Define TEST_DEPENDS and add prepartions to pre-test
---
 devel/glib20/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile
index 0b450f6eabf4..9f5274dac3d0 100644
--- a/devel/glib20/Makefile
+++ b/devel/glib20/Makefile
@@ -15,6 +15,9 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR
 LIB_DEPENDS=	libffi.so:devel/libffi \
 		libpcre2-8.so:devel/pcre2
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
+TEST_DEPENDS=	dbus-uuidgen:devel/dbus \
+		update-desktop-database:devel/desktop-file-utils \
+		update-mime-database:misc/shared-mime-info
 
 # iconv:wchar_t - our iconv in base doesn't support utf-8 -> wchar_t (boooo)
 # (wchar_t is used by glibmm, rawtherapee triggered this)
@@ -55,7 +58,6 @@ FAM_ALTBACKEND_DESC=	Alternate file monitor backend
 MANPAGES_BUILD_DEPENDS=	rst2man:textproc/py-docutils
 MANPAGES_MESON_ENABLED=	man-pages
 
-TEST_BUILD_DEPENDS=	dbus-daemon:devel/dbus
 TEST_MESON_TRUE=	tests
 
 .include <bsd.port.pre.mk>
@@ -122,4 +124,7 @@ post-install:
 .endfor
 	${RM} -r ${STAGEDIR}${PREFIX}/libexec/installed-tests
 
+pre-test:
+	${LOCALBASE}/bin/dbus-uuidgen > /var/lib/dbus/machine-id
+
 .include <bsd.port.post.mk>


home | help

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