git: 1757c67f04fe - main - textproc/sdcv: Enable tests

From: Kousuke Kannagi <mce_at_FreeBSD.org>
Date: Thu, 01 Oct 2026 00:19:32 UTC
The branch main has been updated by mce:

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

commit 1757c67f04feef809e621bc6b2ce002cc8dd9c56
Author:     Kousuke Kannagi <mce@FreeBSD.org>
AuthorDate: 2026-09-16 10:20:31 +0000
Commit:     Kousuke Kannagi <mce@FreeBSD.org>
CommitDate: 2026-10-01 00:18:50 +0000

    textproc/sdcv: Enable tests
    
    PR:             298573
    Approved by:    citrin@citrin.ru (maintainer timeout, 2 weeks)
    Approved by:    osa, fluffy (mentors, implicit)
---
 textproc/sdcv/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/textproc/sdcv/Makefile b/textproc/sdcv/Makefile
index a0433c5adc83..b84f77a74ace 100644
--- a/textproc/sdcv/Makefile
+++ b/textproc/sdcv/Makefile
@@ -13,7 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 TEST_DEPENDS=	jq>0:textproc/jq
 
-USES=		cmake compiler:c++11-lang gnome pkgconfig readline
+USES=		cmake:testing compiler:c++11-lang gnome pkgconfig readline
 USE_GITHUB=	yes
 GH_ACCOUNT=	Dushistov
 USE_GNOME=	glib20
@@ -30,7 +30,7 @@ NLS_USES=	gettext
 NLS_CMAKE_OFF=	-DENABLE_NLS:BOOL=OFF
 
 post-patch:
-.for i in doc/sdcv.1 src/sdcv.cpp
+.for i in doc/sdcv.1 src/sdcv.cpp tests/t_list
 	@${REINPLACE_CMD} -e \
 		's|/usr/share|${PREFIX}/share|' ${WRKSRC}/${i}
 .endfor