diff --git a/science/cantera/Portfile b/science/cantera/Portfile
index 598ec2e392d..f14af287590 100644
a
|
b
|
github.tarball_from archive |
26 | 26 | |
27 | 27 | python.default_version 310 |
28 | 28 | |
| 29 | # SConstruct needs pkg_resources from setuptools. |
| 30 | # This must match the python version of the scons port. |
| 31 | set scons_python_version 312 |
| 32 | |
29 | 33 | boost.depends_type build |
30 | 34 | |
31 | 35 | set port_libfmt libfmt8 |
32 | 36 | |
33 | 37 | depends_build-append port:gtest \ |
34 | 38 | port:py${python.version}-pythran \ |
35 | | port:py${python.version}-setuptools \ |
| 39 | port:py${scons_python_version}-setuptools \ |
36 | 40 | port:scons |
37 | 41 | |
38 | 42 | depends_lib-append path:share/pkgconfig/eigen3.pc:eigen3 \ |
… |
… |
depends_lib-append path:share/pkgconfig/eigen3.pc:eigen3 \ |
43 | 47 | |
44 | 48 | depends_run-append port:py${python.version}-ruamel-yaml |
45 | 49 | |
| 50 | patchfiles c++14.patch \ |
| 51 | python311.patch \ |
| 52 | python312.patch |
| 53 | |
46 | 54 | use_configure no |
47 | 55 | universal_variant no |
48 | 56 | |
49 | | # Needed for libfmt |
50 | | compiler.cxx_standard 2011 |
| 57 | # libfmt8 requires C++11 |
| 58 | # gtest requires C++14 |
| 59 | compiler.cxx_standard 2014 |
51 | 60 | compiler.thread_local_storage yes |
52 | 61 | |
53 | | # The SConstruct needs pkg_resources from setuptools so have scons run |
54 | | # with the same python we're already using so that we can declare a |
55 | | # dependency on that python's setuptools port. |
56 | | build.cmd ${python.bin} ${prefix}/bin/scons |
| 62 | build.cmd ${prefix}/bin/scons |
57 | 63 | build.target build |
58 | 64 | build.args prefix=${prefix} \ |
59 | 65 | CC=${configure.cc} \ |