Ignore:
Timestamp:
Jan 25, 2008, 8:05:46 PM (12 years ago)
Author:
ram@…
Message:

g95 is currently not a supported fortran compiler, for the Mac OS X
platform, for numpy/scipy as the appropriate linking flags have not been
implemented:

http://projects.scipy.org/pipermail/scipy-user/2008-January/015300.html

Depend only upon gcc42. Closes #13776.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py25-scipy/Portfile

    r32324 r33371  
    66name                    py25-scipy
    77version                 0.6.0
    8 revision                2
     8revision                3
    99categories              python
    1010platforms               darwin
     
    2121                        rmd160 391f2067f7dcc133e7e8622df93a2a0cd5ebbe5b
    2222
    23 depends_lib-append      lib:gnuplot:gnuplot \
     23depends_lib-append      port:gcc42 \
     24                        lib:gnuplot:gnuplot \
    2425                        port:py25-numpy
    2526
     
    2829build.env               CCFLAGS="-I${prefix}/include -L${prefix}/lib"
    2930
    30 variant g95 conflicts gcc42 gcc43 description "Use g95 as fortran compiler" {
    31   depends_lib-append    port:g95
    32   set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/g95 --f90exec ${prefix}/bin/g95"
    33   build.cmd-append      ${fc_options}
    34   destroot.cmd-append   ${fc_options}
    35 }
    36 
    37 variant gcc42 conflicts g95 gcc43 description "Use gfortran as fortran compiler" {
    38   depends_lib-append    port:gcc42
    39   set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2"
    40   build.cmd-append      ${fc_options}
    41   destroot.cmd-append   ${fc_options}
    42 }
    43 
    44 variant gcc43 conflicts g95 gcc42 description "Use gfortran as fortran compiler" {
    45   depends_lib-append    port:gcc43
    46   set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.3 --f90exec ${prefix}/bin/gfortran-mp-4.3"
    47   build.cmd-append      ${fc_options}
    48   destroot.cmd-append   ${fc_options}
    49 }
     31set fc_options          "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2"
     32build.cmd-append        ${fc_options}
     33destroot.cmd-append     ${fc_options}
    5034
    5135variant no_gnuplot description "Don't depend on GNUPlot" {
    5236  depends_lib-delete    lib:gnuplot:gnuplot
    5337}
    54 
    55 if { ![variant_isset g95] && ![variant_isset gcc42] && ![variant_isset gcc43] } {
    56   default_variants      +g95
    57 }
Note: See TracChangeset for help on using the changeset viewer.