=== modified file 'python/py25-scipy/Portfile'
|
|
|
24 | 24 | worksrcdir ${distname} |
25 | 25 | |
26 | 26 | build.env CCFLAGS="-I${prefix}/include -L${prefix}/lib" |
| 27 | |
| 28 | variant g95 conflicts gcc42 gcc43 description "Use g95 as fortran compiler" { |
| 29 | depends_lib-append port:g95 |
| 30 | build.cmd-append config_fc \ |
| 31 | --fcompiler gnu95 \ |
| 32 | --f77exec ${prefix}/bin/g95 \ |
| 33 | --f90exec ${prefix}/bin/g95 |
| 34 | } |
| 35 | |
| 36 | variant gcc42 conflicts g95 gcc43 description "Use gfortran as fortran compiler" { |
| 37 | depends_lib-append port:gcc42 |
| 38 | build.cmd-append config_fc \ |
| 39 | --fcompiler gnu95 \ |
| 40 | --f77exec ${prefix}/bin/gfortran-mp-4.2 \ |
| 41 | --f90exec ${prefix}/bin/gfortran-mp-4.2 |
| 42 | } |
| 43 | |
| 44 | variant gcc43 conflicts g95 gcc42 description "Use gfortran as fortran compiler" { |
| 45 | depends_lib-append port:gcc43 |
| 46 | build.cmd-append config_fc \ |
| 47 | --fcompiler gnu95 \ |
| 48 | --f77exec ${prefix}/bin/gfortran-mp-4.3 \ |
| 49 | --f90exec ${prefix}/bin/gfortran-mp-4.3 |
| 50 | } |
| 51 | |
| 52 | if { ![variant_isset g95] && ![variant_isset gcc42] && ![variant_isset gcc43] } { |
| 53 | default_variants +g95 |
| 54 | } |