aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2026-10-02 17:00:28 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2026-10-02 17:00:28 +0000
commit7a6a7307f98bba662c074b28e4f4596e14e672f7 (patch)
tree3d1b796dcf99fe30893e31f92b8bf502fa5cf395
parentbca21a517901c6df8a373f223f40b28461033395 (diff)
graphics/alembic: the port had been updated to version 1.8.12
- Stop forcing C++ standard, upstream defaults to C++14 which is lower than most consumers in the ports - Replace hand-rolled `do-test' target by USES+=cmake:testing - Do not build tests unless requested, this cuts down regular build target count roughly in half PR: 281999 (second take) Reported by: portscout
-rw-r--r--graphics/alembic/Makefile12
-rw-r--r--graphics/alembic/distinfo6
2 files changed, 8 insertions, 10 deletions
diff --git a/graphics/alembic/Makefile b/graphics/alembic/Makefile
index c0704c2247de..007b44b409aa 100644
--- a/graphics/alembic/Makefile
+++ b/graphics/alembic/Makefile
@@ -1,6 +1,5 @@
PORTNAME= alembic
-PORTVERSION= 1.8.7
-PORTREVISION= 1
+PORTVERSION= 1.8.12
CATEGORIES= graphics
MAINTAINER= danfe@FreeBSD.org
@@ -11,11 +10,13 @@ LICENSE= BSD3CLAUSE
LIB_DEPENDS= libImath.so:math/Imath
-USES= cmake compiler:c++11-lang
-USE_CXXSTD= c++11
+USES= cmake:testing compiler:c++14-lang
USE_GITHUB= yes
USE_LDCONFIG= yes
+CMAKE_OFF= USE_TESTS
+CMAKE_TESTING_ON= USE_TESTS
+
OPTIONS_DEFINE= HDF5
OPTIONS_DEFAULT= HDF5
OPTIONS_SUB= yes
@@ -26,7 +27,4 @@ HDF5_CMAKE_ON= -DUSE_HDF5:BOOL=ON
PLIST_FILES= lib/libAlembic.so.${PORTVERSION} \
lib/libAlembic.so.${PORTVERSION:R}
-do-test:
- @cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS}
-
.include <bsd.port.mk>
diff --git a/graphics/alembic/distinfo b/graphics/alembic/distinfo
index ab8f0a4c4bdc..1e827515d284 100644
--- a/graphics/alembic/distinfo
+++ b/graphics/alembic/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1728321148
-SHA256 (alembic-alembic-1.8.7_GH0.tar.gz) = 6de0b97cd14dcfb7b2d0d788c951b6da3c5b336c47322ea881d64f18575c33da
-SIZE (alembic-alembic-1.8.7_GH0.tar.gz) = 932935
+TIMESTAMP = 1782956078
+SHA256 (alembic-alembic-1.8.12_GH0.tar.gz) = b6d916c40446e8c502c84273092ab3d98f3f7f6094f8a2b8203d23e2f1d2a4a0
+SIZE (alembic-alembic-1.8.12_GH0.tar.gz) = 933623