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/py-numpy/Portfile

    r32360 r33371  
    66name                    py-numpy
    77version                 1.0.4
    8 revision                4
     8revision                5
    99categories              python
    1010platforms               darwin
     
    2121                        rmd160 8ac192ad3f36a94a45c26e0c4028fdbb744881f5
    2222
    23 depends_lib-append      port:fftw-3
     23depends_lib-append      port:gcc42 \
     24                        port:fftw-3
    2425
    25 variant g95 conflicts gcc42 gcc43 description "Use g95 as fortran compiler" {
    26   depends_lib-append    port:g95
    27   build.cmd-append      "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/g95 --f90exec ${prefix}/bin/g95"
    28 }
    29 
    30 variant gcc42 conflicts g95 gcc43 description "Use gfortran as fortran compiler" {
    31   depends_lib-append    port:gcc42
    32   build.cmd-append      "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2"
    33 }
    34 
    35 variant gcc43 conflicts g95 gcc42 description "Use gfortran as fortran compiler" {
    36   depends_lib-append    port:gcc43
    37   build.cmd-append      "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.3 --f90exec ${prefix}/bin/gfortran-mp-4.3"
    38 }
    39 
    40 if { ![variant_isset g95] && ![variant_isset gcc42] && ![variant_isset gcc43] } {
    41   default_variants      +g95
    42 }
     26build.cmd-append        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2"
Note: See TracChangeset for help on using the changeset viewer.