From 0c731da5fa7d1b988ea6699e7d75e8f089f94a4f Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Sun, 14 Jul 2024 04:19:04 +0800 Subject: [PATCH] science/opensim-core: Use swig40 instead of swig - Bump PORTREVISION for package change std_carray.i was removed from SWIG since 4.2.0. Use legacy devel/swig40 for now before upstream finds a better solution. PR: 279489 Reference: https://github.com/opensim-org/opensim-core/issues/3758 --- science/opensim-core/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/science/opensim-core/Makefile b/science/opensim-core/Makefile index ae3763dda257..c0431af8b098 100644 --- a/science/opensim-core/Makefile +++ b/science/opensim-core/Makefile @@ -1,6 +1,6 @@ PORTNAME= OpenSim DISTVERSION= 4.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= science PKGNAMESUFFIX= -core @@ -34,14 +34,16 @@ OPTIONS_SUB= yes PYTHON_CMAKE_BOOL= BUILD_PYTHON_WRAPPING PYTHON_USES= python -PYTHON_BUILD_DEPENDS= swig:devel/swig +PYTHON_BUILD_DEPENDS= swig40:devel/swig40 +PYTHON_BINARY_ALIAS= swig=swig40 JAVA_CMAKE_BOOL= BUILD_JAVA_WRAPPING JAVA_CMAKE_ON= -DJAVA_AWT_LIBRARY=${LOCALBASE}/openjdk8/jre/lib/amd64/libawt.so \ -DJAVA_JVM_LIBRARY=${LOCALBASE}/openjdk8/jre/lib/amd64/server/libjvm.so \ -DJAVA_INCLUDE_PATH=${LOCALBASE}/openjdk8/include JAVA_USE= JAVA=yes -JAVA_BUILD_DEPENDS= swig:devel/swig +JAVA_BUILD_DEPENDS= swig40:devel/swig40 +JAVA_BINARY_ALIAS= swig=swig40 DOCS_CMAKE_BOOL= INSTALL_DOCS PORTDOCS= *