Ticket #12253: libnc-dap.diff

File libnc-dap.diff, 983 bytes (added by ryandesign (Ryan Carsten Schmidt), 17 years ago)
  • Portfile

     
    2323                port:libdap \
    2424                port:libxml2
    2525
    26 platform powerpc {
    27     if {![variant_isset g95]} {
    28         depends_lib-append      port:gcc40
    29         configure.env-append    FC=gfortran-dp-4.0
    30     }
     26if {![variant_isset g95]} {
     27    default_variants +gcc42
    3128}
    3229
    33 platform i386 {
    34     if {![variant_isset g95]} {
    35         depends_lib-append      port:gcc42
    36         configure.env-append    FC=gfortran-dp-4.2
    37     }
     30variant gcc42 conflicts g95 description {Build using gcc42 (default)} {
     31    depends_build-append    port:gcc42
     32    configure.env-append    FC=${prefix}/bin/gfortran-mp-4.2
    3833}
    3934
    40 variant g95 {
    41     depends_lib-append      port:g95
     35variant g95 conflicts gcc42 description {Build using g95} {
     36    depends_build-append    port:g95
    4237    configure.env-append    FC=${prefix}/bin/g95
    4338}