On 2023 Feb 15 (Wed) at 22:09:05 +0100 (+0100), Theo Buehler wrote:
:>
http://build-failures.rhaalovely.net/aarch64/2023-02-13/graphics/openscenegraph.log
:
:This is a hidden dep on cad/oce. Not sure if it is desirable to add this
:relatively heavy dependency or if it's better to neuter it.
:
:It seems that there are various other hidden deps. For instance, my logs
:suggest that the curl module may or may not be picked up. It would be
:nice if someone who likes dealing with cmake could fix this.
:
Here's a patch to disable the hidden dep on cad/oce, OK?
curl is already listed in the port as a lib depends, so I don't think I
should change anything there.
Index: Makefile
===================================================================
RCS file: /cvs/openbsd/ports/graphics/openscenegraph/Makefile,v
retrieving revision 1.30
diff -u -p -u -p -r1.30 Makefile
--- Makefile 30 Dec 2022 00:13:29 -0000 1.30
+++ Makefile 16 Feb 2023 08:44:30 -0000
@@ -10,7 +10,7 @@ GH_ACCOUNT = openscenegraph
GH_PROJECT = OpenSceneGraph
GH_TAGNAME = OpenSceneGraph-$V
DISTNAME = openscenegraph-${V}
-REVISION = 3
+REVISION = 4
SUBST_VARS += V
@@ -64,6 +64,8 @@ LIB_DEPENDS = devel/sdl \
x11/gnome/librsvg
NO_TEST = Yes
+
+CONFIGURE_ARGS += -DCMAKE_DISABLE_FIND_PACKAGE_OpenCascade:Bool=Yes
# Fix build with OpenEXR>=3 (Imath split)
CXXFLAGS += -I${LOCALBASE}/include/Imath