aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-05-14 17:54:52 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-05-14 17:57:17 +0000
commita00b2df8147b276624589bda02daf32b1c507e3d (patch)
tree297005d25fb96f8d3b0092232b6ecb4697cc6419
parent652622ae4f9d98c6c1300245b57861343d6a8a40 (diff)
downloadports-a00b2df8147b276624589bda02daf32b1c507e3d.tar.gz
ports-a00b2df8147b276624589bda02daf32b1c507e3d.zip
graphics/py-openimageio: Unbreak by using the c++17 flag
Approved by: portmgr (blanket unbreak)
-rw-r--r--graphics/openimageio/Makefile1
-rw-r--r--graphics/py-openimageio/Makefile2
2 files changed, 1 insertions, 2 deletions
diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile
index d8bca464c473..047b9401446f 100644
--- a/graphics/openimageio/Makefile
+++ b/graphics/openimageio/Makefile
@@ -39,6 +39,7 @@ GH_PROJECT= oiio
CMAKE_OFF= BUILDSTATIC INSTALL_FONTS LINKSTATIC NOTHREADS \
STOP_ON_WARNING USE_OPENSSL OIIO_DOWNLOAD_MISSING_TESTDATA \
USE_Package
+CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 # OpenVDB uses the C++17 STL feature std::tuple_size_v; since the slave port py-openimageio excludes options - this is a global line here
OPTIONS_DEFINE= DICOM DOCS FFMPEG FREETYPE GIF IMAGEVIEWER \
OPENCV OPENJPEG PTEX RAW TBB TEST TOOLS VDB
diff --git a/graphics/py-openimageio/Makefile b/graphics/py-openimageio/Makefile
index 4d2e4eaf0dbd..90cf0342bb59 100644
--- a/graphics/py-openimageio/Makefile
+++ b/graphics/py-openimageio/Makefile
@@ -4,8 +4,6 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
COMMENT= OpenImageIO python bindings
-BROKEN= broken due to OpenVDB using undefined STL function std::tuple_size_v, see https://github.com/AcademySoftwareFoundation/openvdb/issues/1814
-
MASTERDIR= ${.CURDIR}/../openimageio
OPTIONS_EXCLUDE=${OPTIONS_DEFINE}