You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
nlopt: use python.branch
This commit is contained in:
+2
-1
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user