Disable the unlisted dcmtk library. The build fails if it happens to be 
installed.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/openscenegraph/Makefile,v
retrieving revision 1.31
diff -u -p -u -p -r1.31 Makefile
--- Makefile    16 Feb 2023 11:01:52 -0000      1.31
+++ Makefile    8 May 2023 00:41:13 -0000
@@ -65,7 +65,8 @@ LIB_DEPENDS =         devel/sdl \
 
 NO_TEST =              Yes
 
-CONFIGURE_ARGS +=      -DCMAKE_DISABLE_FIND_PACKAGE_OpenCascade:Bool=Yes
+CONFIGURE_ARGS +=      -DCMAKE_DISABLE_FIND_PACKAGE_OpenCascade:Bool=Yes \
+                       -DCMAKE_DISABLE_FIND_PACKAGE_DCMTK:Bool=Yes
 
 # Fix build with OpenEXR>=3 (Imath split)
 CXXFLAGS +=            -I${LOCALBASE}/include/Imath

Reply via email to