Ticket #55300: Portfile-cantera2.3.diff

File Portfile-cantera2.3.diff, 2.3 KB (added by thomasfiala (Thomas Fiala), 6 years ago)

diff file to upgrade cantera 2.2 -> cantera 2.3. Doesn't work apparently because of linking error to fmtlib, but I cannot find the mistake.

  • Portfile

    old new  
    44PortGroup               github 1.0
    55PortGroup               python 1.0
    66
    7 github.setup            Cantera cantera 2.2.0 v
     7github.setup            Cantera cantera 2.3.0 v
    88conflicts               cantera-devel
    9 revision                2
    109
    1110subport cantera-devel {
    12     github.setup        Cantera cantera 2.2.0b1 v
     11    github.setup        Cantera cantera 2.3.0b1 v
    1312    conflicts           cantera
    1413}
    1514
     
    2625
    2726homepage                https://cantera.github.io/docs/sphinx/html/index.html
    2827
    29 checksums               rmd160  67cd0391329ce5acfcbb52725aa74c2b13ccb0a1 \
    30                         sha256  d5f2d3e193e18ed8cb568f6a43ef1d1a41f910f01a349b71a1f5c36e2d918797
     28checksums               rmd160  010a4eafb7004aa8927d94002dd8f3abd4da252a \
     29                        sha256  9d383f2d3d88a45a24ba5af12c047c0329f442980ccdb39925082c951f5c33b3
    3130
    3231subport cantera-devel {
    3332    checksums           rmd160  dd1c69ed614942e7900bce4303ddee7b6216c5b6 \
     
    3736python.default_version         27
    3837
    3938depends_lib-append      port:py${python.version}-numpy \
    40                         port:py${python.version}-cython
     39                        port:py${python.version}-cython \
     40                        port:libfmt \
     41                        port:gtest \
     42                        port:eigen3
    4143
    4244depends_build-append    port:scons
    4345
     
    5052                        CXX=${configure.cxx} \
    5153                        f90_interface=n \
    5254                        python_prefix=${python.prefix} \
    53                         stage_dir=${destroot}
     55                        stage_dir=${destroot} \
     56                        system_fmt=y \
     57                        system_googletest=y \
     58                        system_eigen=y \
     59                        extra_inc_dirs=${prefix}/include/eigen3:${prefix}/include/
    5460
    5561destroot                {}
    5662
     
    8288"
    8389
    8490variant sundials description {Build with sundials support (default)} {
    85     depends_lib-append      port:sundials
     91    depends_lib-append      port:sundials2
    8692
    87     build.args-append       use_sundials=y \
     93    build.args-append       system_sundials=y \
    8894                            sundials_include=${prefix}/include \
    8995                            sundials_libdir=${prefix}/lib
    9096}