git: 01047d56d792 - main - devel/date: Revert 089db73ba6ebbe261d7271f4bacf47fd9b422881

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Oct 2024 11:21:33 UTC
The branch main has been updated by sunpoet:

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

commit 01047d56d792471f81d04f83f8b0f9ce1512b3a9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-25 11:17:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-25 11:17:08 +0000

    devel/date: Revert 089db73ba6ebbe261d7271f4bacf47fd9b422881
---
 devel/date/Makefile | 19 +++++++------------
 devel/date/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/devel/date/Makefile b/devel/date/Makefile
index 586d7305b34d..9c275b42e63a 100644
--- a/devel/date/Makefile
+++ b/devel/date/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	date
+PORTVERSION=	3.0.2
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.0.3
 CATEGORIES=	devel
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -11,27 +11,22 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 LIB_DEPENDS=	libcurl.so:ftp/curl
-TEST_DEPENDS=	bash:shells/bash
 
-USES=		cmake:testing compiler:c++17-lang shebangfix
-USE_LDCONFIG=	yes
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	HowardHinnant
-GH_PROJECT=	date
-
-SHEBANG_FILES=	test_fail.sh
+USES=		cmake compiler:c++17-lang
 
 CMAKE_OFF=	COMPILE_WITH_C_LOCALE \
 		DISABLE_STRING_VIEW \
+		ENABLE_DATE_TESTING \
 		MANUAL_TZ_DB \
 		USE_SYSTEM_TZ_DB \
 		USE_TZ_DB_IN_DOT
 CMAKE_ON=	BUILD_SHARED_LIBS \
 		BUILD_TZ_LIB \
 		ENABLE_DATE_INSTALL
-CMAKE_TESTING_ON=	ENABLE_DATE_TESTING
+USE_LDCONFIG=	yes
 
-# tests fail to run because executables aren't built, see https://github.com/HowardHinnant/date/issues/855
+USE_GITHUB=	yes
+GH_ACCOUNT=	HowardHinnant
+GH_PROJECT=	date
 
 .include <bsd.port.mk>
diff --git a/devel/date/distinfo b/devel/date/distinfo
index f47afb1ab557..cc96fd68ad98 100644
--- a/devel/date/distinfo
+++ b/devel/date/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1729677924
-SHA256 (HowardHinnant-date-v3.0.3_GH0.tar.gz) = 30de45a34a2605cca33a993a9ea54e8f140f23b1caf1acf3c2fd436c42c7d942
-SIZE (HowardHinnant-date-v3.0.3_GH0.tar.gz) = 829597
+TIMESTAMP = 1729240318
+SHA256 (HowardHinnant-date-v3.0.2_GH0.tar.gz) = 0449667ea85c5b411c28d08a53f1e420c73416caa5b693c249dac9763eb97b7c
+SIZE (HowardHinnant-date-v3.0.2_GH0.tar.gz) = 829602