nlopt: use python.branch

This commit is contained in:
Marius Schamschula
2026-04-22 07:42:46 -05:00
parent e98b9f6d4a
commit 4e9dfbe562
+2 -1
View File
@@ -23,6 +23,7 @@ checksums rmd160 e7a670e593dae388921c6abbe8a03ffbd1449358 \
size 2064973
set python.version 314
set python.branch [string index ${python.version} 0].[string range ${python.version} 1 end]
depends_lib port:python${python.version}
@@ -32,4 +33,4 @@ configure.args -DNLOPT_GUILE=OFF \
-DNLOPT_JAVA=OFF \
-DNLOPT_OCTAVE=OFF \
-DNLOPT_SWIG=OFF \
-DPython_EXECUTABLE=${prefix}/bin/python3.14
-DPython_EXECUTABLE=${prefix}/bin/python${python.branch}