git: 4388d09b0278 - main - textproc/cpp-peglib: Update 1.8.2 → 1.8.3

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 17 Mar 2023 16:33:11 UTC
The branch main has been updated by yuri:

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

commit 4388d09b0278517fe5f3c26db816754fd05043a1
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-03-17 15:19:13 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-17 16:33:08 +0000

    textproc/cpp-peglib: Update 1.8.2 → 1.8.3
    
    Reported by:    portscout
---
 textproc/cpp-peglib/Makefile | 10 ++++++----
 textproc/cpp-peglib/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/textproc/cpp-peglib/Makefile b/textproc/cpp-peglib/Makefile
index 2a914c912ba7..45d87ca2e154 100644
--- a/textproc/cpp-peglib/Makefile
+++ b/textproc/cpp-peglib/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cpp-peglib
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.8.2
+DISTVERSION=	1.8.3
 CATEGORIES=	textproc devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -10,13 +10,15 @@ WWW=		https://github.com/yhirose/cpp-peglib
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake:testing compiler:c++17-lang
+TEST_DEPENDS=	${LOCALBASE}/include/gtest/gtest.h:devel/googletest
+
+USES=		cmake:testing compiler:c++17-lang localbase:ldflags
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	yhirose
 
-CMAKE_OFF=	PEGLIB_BUILD_TESTS
-CMAKE_TESTING_ON=	PEGLIB_BUILD_TESTS
+CMAKE_OFF=	BUILD_TESTS
+CMAKE_TESTING_ON=	BUILD_TESTS # tests fail to link, possibly because googletest is 1.12.1, when the latest version is 1.13.0
 
 NO_ARCH=	yes
 
diff --git a/textproc/cpp-peglib/distinfo b/textproc/cpp-peglib/distinfo
index 67ad80657084..17c3e6f9cee4 100644
--- a/textproc/cpp-peglib/distinfo
+++ b/textproc/cpp-peglib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1663860106
-SHA256 (yhirose-cpp-peglib-v1.8.2_GH0.tar.gz) = eca5d06dafb940ffee8a99060a57272ada7f2486fc21ed1663e4e49851a70e0c
-SIZE (yhirose-cpp-peglib-v1.8.2_GH0.tar.gz) = 213384
+TIMESTAMP = 1679069463
+SHA256 (yhirose-cpp-peglib-v1.8.3_GH0.tar.gz) = 3de8aeb44a262f9c2478e2a7e7bc2bb9426a2bdd176cf0654ff5a3d291c77b73
+SIZE (yhirose-cpp-peglib-v1.8.3_GH0.tar.gz) = 213662