Index | Thread | Search

From:
Stuart Cassoff <exokoide@yahoo.ca>
Subject:
devel/swig: Tcl and Guile adjustments
To:
OpenBSD Ports <ports@openbsd.org>
Date:
Mon, 1 Dec 2025 14:47:25 -0500

Download raw body.

Thread
  • Stuart Cassoff:

    devel/swig: Tcl and Guile adjustments

MODTCL_VERSION=8.6
Tcl is only needed for tests, which run fine with 8.6.

--with-guilelib isn't a swig configure option and is ignored.
Replace with --with-guile-config.
No change to result as swig would find guile 1.8.8 anyway.



diff -Nurp /usr/ports/devel/swig/Makefile ./Makefile
--- /usr/ports/devel/swig/Makefile	Sat May 11 14:59:55 2024
+++ ./Makefile	Mon Dec  1 12:54:38 2025
@@ -21,6 +21,7 @@ MODULES =	lang/python \
 		lang/tcl
 
 MODPY_RUNDEP =	No
+MODTCL_VERSION=	8.6
 
 BUILD_DEPENDS =	${MODTCL_BUILD_DEPENDS} \
 		lang/guile
@@ -36,7 +37,7 @@ CONFIGURE_STYLE = gnu
 # swig -> ruby (yjit) -> rust -> llvm -> swig.
 CONFIGURE_ARGS += --with-tclincl=${MODTCL_INCDIR} \
 		 --with-tcllib=${MODTCL_LIBDIR} \
-		 --with-guilelib=${LOCALBASE}/lib \
+		 --with-guile-config=${LOCALBASE}/bin/guile-config \
 		 --with-python=${MODPY_BIN} \
 		 --without-android \
 		 --without-csharp \