#27476: py26-scipy @0.8.0 add support for gcc45 fortran compiler ------------------------------+--------------------------------------------- Reporter: jtravs@… | Owner: ram@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: fortran | Port: py26-scipy ------------------------------+--------------------------------------------- Comment(by ram@…): Taking a look at getting this variant added and I've noticed something odd: {{{ variant gcc42 conflicts gcc43 gcc44 description "Use gfortran-mp-4.2 as fortran compiler" { configure.compiler macports-gcc-4.2 depends_lib-append port:gcc42 set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2" build.cmd-append ${fc_options} destroot.cmd-append ${fc_options} } variant gcc43 conflicts gcc42 gcc44 description "Use gcc 4.3 tool chain for building" { configure.compiler macports-gcc-4.3 depends_lib-append port:gcc43 set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.3 --f90exec ${prefix}/bin/gfortran-mp-4.3" set config_options "config --cc ${prefix}/bin/gcc-mp-4.3 --include- dirs ${prefix}/include --library-dirs ${prefix}/lib" build.cmd-append ${fc_options} ${config_options} destroot.cmd-append ${fc_options} ${config_options} destroot.env-append CC="${prefix}/bin/gcc-mp-4.3" \ CXX="${prefix}/bin/g++-mp-4.3" build.env-append CC="${prefix}/bin/gcc-mp-4.3" \ CXX="${prefix}/bin/g++-mp-4.3" } variant gcc44 conflicts gcc42 gcc43 description "Use gfortran-mp-4.4 as fortran compiler" { configure.compiler macports-gcc-4.4 depends_lib-append port:gcc44 set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.4 --f90exec ${prefix}/bin/gfortran-mp-4.4" build.cmd-append ${fc_options} destroot.cmd-append ${fc_options} } }}} Josh: Can you recall why the gcc43 variant differs from gcc42 and gcc44? Is this an oversight and should be be setting the C compiler for the other variants as well? -- Ticket URL: <https://trac.macports.org/ticket/27476#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS