summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-10-23 03:16:01 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2024-10-23 03:16:01 -0700
commit089db73ba6ebbe261d7271f4bacf47fd9b422881 (patch)
tree6ec135b5f30f3c1de15e9a23f24288cc24f84c11
parentgraphics/oculante: Broken on arm64 (diff)
devel/date: update 3.0.2 → 3.0.3
-rw-r--r--devel/date/Makefile19
-rw-r--r--devel/date/distinfo6
-rw-r--r--devel/date/pkg-plist2
3 files changed, 16 insertions, 11 deletions
diff --git a/devel/date/Makefile b/devel/date/Makefile
index 9c275b42e63a..586d7305b34d 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,22 +11,27 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libcurl.so:ftp/curl
+TEST_DEPENDS= bash:shells/bash
-USES= cmake compiler:c++17-lang
+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
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
-USE_LDCONFIG= yes
+CMAKE_TESTING_ON= ENABLE_DATE_TESTING
-USE_GITHUB= yes
-GH_ACCOUNT= HowardHinnant
-GH_PROJECT= date
+# tests fail to run because executables aren't built, see https://github.com/HowardHinnant/date/issues/855
.include <bsd.port.mk>
diff --git a/devel/date/distinfo b/devel/date/distinfo
index cc96fd68ad98..f47afb1ab557 100644
--- a/devel/date/distinfo
+++ b/devel/date/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1729240318
-SHA256 (HowardHinnant-date-v3.0.2_GH0.tar.gz) = 0449667ea85c5b411c28d08a53f1e420c73416caa5b693c249dac9763eb97b7c
-SIZE (HowardHinnant-date-v3.0.2_GH0.tar.gz) = 829602
+TIMESTAMP = 1729677924
+SHA256 (HowardHinnant-date-v3.0.3_GH0.tar.gz) = 30de45a34a2605cca33a993a9ea54e8f140f23b1caf1acf3c2fd436c42c7d942
+SIZE (HowardHinnant-date-v3.0.3_GH0.tar.gz) = 829597
diff --git a/devel/date/pkg-plist b/devel/date/pkg-plist
index 371836d72ff4..39d065633855 100644
--- a/devel/date/pkg-plist
+++ b/devel/date/pkg-plist
@@ -10,4 +10,4 @@ lib/cmake/date/dateTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/date/dateTargets.cmake
lib/libdate-tz.so
lib/libdate-tz.so.3
-lib/libdate-tz.so.3.0.1
+lib/libdate-tz.so.3.0.3