Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2026 07:29:31 +0000
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Matt Kempe <fsbruva@yahoo.com>
Subject:   git: faec3d32278e - main - devel/gumbo: Switch to meson and add TEST option
Message-ID:  <6a0d62db.3a3f5.1b9ac470@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vvd:

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

commit faec3d32278e56498446a62127737fb8dbab83b9
Author:     Matt Kempe <fsbruva@yahoo.com>
AuthorDate: 2026-05-20 07:25:46 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-05-20 07:29:02 +0000

    devel/gumbo: Switch to meson and add TEST option
    
    The autotools support from upstream is deprecated.
    
    PR:             295323
    Sponsored by:   UNIS Labs
---
 devel/gumbo/Makefile | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/devel/gumbo/Makefile b/devel/gumbo/Makefile
index c868cfef1e64..378baafcdf5b 100644
--- a/devel/gumbo/Makefile
+++ b/devel/gumbo/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gumbo
 DISTVERSION=	0.13.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel textproc
 MASTER_SITES=	https://codeberg.org/gumbo-parser/gumbo-parser/archive/${DISTVERSION}${EXTRACT_SUFX}?dummy/
 
@@ -10,13 +10,18 @@ WWW=		https://codeberg.org/gumbo-parser/gumbo-parser/
 
 LICENSE=	APACHE20
 
-USES=		autoreconf gmake libtool pathfix
+USES=		meson pkgconfig
 USE_LDCONFIG=	yes
 
-GNU_CONFIGURE=	yes
+WRKSRC=		${WRKDIR}/gumbo-parser
 
-INSTALL_TARGET=	install-strip
+OPTIONS_DEFINE=		TEST
+OPTIONS_DEFAULT=	TEST
+TEST_BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/gtest_main.pc:devel/googletest
+TEST_MESON_TRUE=	tests
 
-WRKSRC=		${WRKDIR}/gumbo-parser
+do-test-TEST-on:
+	cd ${BUILD_WRKSRC} && \
+		${SETENV} ${MAKE_ENV} meson test --print-errorlogs
 
 .include <bsd.port.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a0d62db.3a3f5.1b9ac470>