Ticket #69362: Portfile.diff

File Portfile.diff, 1.7 KB (added by ryandesign (Ryan Carsten Schmidt), 7 weeks ago)

WIP

  • science/cantera/Portfile

    diff --git a/science/cantera/Portfile b/science/cantera/Portfile
    index 598ec2e392d..f14af287590 100644
    a b github.tarball_from archive 
    2626
    2727python.default_version  310
    2828
     29# SConstruct needs pkg_resources from setuptools.
     30# This must match the python version of the scons port.
     31set scons_python_version 312
     32
    2933boost.depends_type      build
    3034
    3135set port_libfmt         libfmt8
    3236
    3337depends_build-append    port:gtest \
    3438                        port:py${python.version}-pythran \
    35                         port:py${python.version}-setuptools \
     39                        port:py${scons_python_version}-setuptools \
    3640                        port:scons
    3741
    3842depends_lib-append      path:share/pkgconfig/eigen3.pc:eigen3 \
    depends_lib-append path:share/pkgconfig/eigen3.pc:eigen3 \ 
    4347
    4448depends_run-append      port:py${python.version}-ruamel-yaml
    4549
     50patchfiles              c++14.patch \
     51                        python311.patch \
     52                        python312.patch
     53
    4654use_configure           no
    4755universal_variant       no
    4856
    49 # Needed for libfmt
    50 compiler.cxx_standard   2011
     57# libfmt8 requires C++11
     58# gtest requires C++14
     59compiler.cxx_standard   2014
    5160compiler.thread_local_storage yes
    5261
    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
     62build.cmd               ${prefix}/bin/scons
    5763build.target            build
    5864build.args              prefix=${prefix} \
    5965                        CC=${configure.cc} \