Changeset 130949


Ignore:
Timestamp:
Jan 4, 2015, 6:00:49 AM (3 years ago)
Author:
sean@…
Message:

compilers-1.0: set default fortran variant in the portgroup

Location:
trunk/dports
Files:
21 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/compilers-1.0.tcl

    r129984 r130949  
    556556        eval compilers.setup_variants ${compilers.variants}
    557557
     558        if {${compilers.require_fortran} && ![fortran_variant_isset]} {
     559            if {[lsearch -exact ${compilers.variants} gfortran] > -1} {
     560                default_variants-append +gfortran
     561            } else {
     562                default_variants-append +gcc48
     563            }
     564        }
     565
    558566        set compilers.setup_done 1
    559567    }
  • trunk/dports/cad/freecad/Portfile

    r127325 r130949  
    6363compilers.setup         -dragonegg -g95 -gcc gcc48 require_fortran
    6464
    65 if {![fortran_variant_isset]} {
    66     default_variants-append +gcc48
    67 }
    68 
    6965configure.args-delete   -DCMAKE_INSTALL_RPATH=${prefix}/lib \
    7066                        -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib
  • trunk/dports/devel/fortrancl/Portfile

    r125858 r130949  
    4646}
    4747
    48 if {![fortran_variant_isset]} {
    49     default_variants    +gcc48
    50 }
    51 
    5248# They differ when universal due to gcc multilib being messy non-universal
    5349destroot.delete_la_files yes
  • trunk/dports/lang/julia/Portfile

    r130196 r130949  
    4646use_configure       no
    4747# use_parallel_build  no
    48 
    49 if {![fortran_variant_isset]} {
    50     default_variants-append +gcc48
    51 }
    5248
    5349post-extract {
  • trunk/dports/math/arpack/Portfile

    r121955 r130949  
    2727
    2828configure.args      home=${worksrcpath} --disable-mpi
    29 
    30 if {![fortran_variant_isset]} {
    31     default_variants +gfortran
    32 }
    3329
    3430if {${build_arch} eq "x86_64" || ${build_arch} eq "ppc64"} {
  • trunk/dports/math/fftw/Portfile

    r129985 r130949  
    5252}
    5353
    54 if {![fortran_variant_isset]} {
    55     default_variants +gfortran
    56 }
    57 
    5854if {[mpi_variant_isset]} {
    5955    configure.args-append --enable-mpi
  • trunk/dports/math/fgsl/Portfile

    r121952 r130949  
    2727compilers.setup     require_fortran
    2828
    29 if {![fortran_variant_isset]} {
    30     default_variants +gcc48
    31 }
    32 
    3329destroot.args-append    fgsl_exampledir=${prefix}/share/${name}/examples \
    3430                        fgsl_docdir=${prefix}/share/doc/${name} \
  • trunk/dports/math/ml/Portfile

    r129989 r130949  
    4848}
    4949
    50 if {![fortran_variant_isset]} {
    51     default_variants +gfortran
    52 }
    53 
    5450if {[mpi_variant_isset]} {
    5551    configure.args-append      --enable-mpi
  • trunk/dports/math/mumps/Portfile

    r121983 r130949  
    4848}
    4949
    50 if {![fortran_variant_isset]} {
    51     default_variants +gfortran
    52 }
    53 
    5450post-extract {
    5551    file copy ${worksrcpath}/Make.inc/Makefile.gfortran.PAR ${worksrcpath}/Makefile.inc
  • trunk/dports/math/octave/Portfile

    r128817 r130949  
    134134}
    135135
    136 if {![fortran_variant_isset]} {
    137     default_variants-append +gcc48
    138 }
    139 
    140136# atlas does not work with g95, so always conflict with it
    141137
  • trunk/dports/math/qrupdate/Portfile

    r125857 r130949  
    9494    }
    9595}
    96 if {![fortran_variant_isset]} {
    97     default_variants-append +gcc48
    98 }
  • trunk/dports/science/berkeleygw/Portfile

    r128435 r130949  
    3131compilers.choose    fc cpp
    3232mpi.setup           require_fortran -dragonegg -openmpi -openmpi_devel
    33 
    34 if {![fortran_variant_isset]} {
    35     default_variants-append +gcc48
    36 }
    3733
    3834if {[mpi_variant_isset]} {
  • trunk/dports/science/etsf_io/Portfile

    r127654 r130949  
    2323compilers.choose    fc
    2424compilers.setup     require_fortran
    25 
    26 if {![fortran_variant_isset]} {
    27     default_variants-append +gcc48
    28 }
    2925
    3026depends_lib         port:netcdf-fortran
  • trunk/dports/science/gildas/Portfile

    r130214 r130949  
    5656configure.python    ${prefix}/bin/python2.7
    5757
    58 if {![fortran_variant_isset]} {
    59     default_variants-append +gcc49
    60 }
    61 
    6258post-extract {
    6359    if {![gcc_variant_isset]} {
  • trunk/dports/science/libxc/Portfile

    r127616 r130949  
    2929compilers.setup     require_fortran
    3030
    31 if {![fortran_variant_isset]} {
    32     default_variants-append +gcc48
    33 }
    34 
    3531use_parallel_build  yes
    3632
  • trunk/dports/science/magicspp/Portfile

    r130233 r130949  
    5858universal_variant   no
    5959
    60 if {![fortran_variant_isset]} {
    61     default_variants-append +gcc48
    62 }
    6360default_variants-append +python27
    6461
  • trunk/dports/science/netcdf-fortran/Portfile

    r123274 r130949  
    8888destroot.destdir            prefix=${destroot}${prefix} \
    8989                            MANDIR=\\\${prefix}/share/man
    90 
    91 if {![fortran_variant_isset]} {
    92     default_variants-append +gcc48
    93 }
  • trunk/dports/science/octopus/Portfile

    r127865 r130949  
    4141
    4242default_variants +newuoa
    43 # FIXME: does this not happen in time to make fftw-3 get installed +gcc48?
    44 if {![fortran_variant_isset]} {
    45     default_variants    +gcc48
    46 }
     43# FIXME: does fortran default variant not happen in time to make fftw-3 get
     44# installed +gcc48?
    4745
    4846# Update test results for libxc 2.1.0 (distribution has results for libxc 2.0.0)
  • trunk/dports/science/slatec/Portfile

    r118084 r130949  
    3232compilers.choose    fc f77 f90
    3333compilers.setup     require_fortran
    34 
    35 if {![fortran_variant_isset]} {
    36     default_variants-append +gcc48
    37 }
    3834       
    3935post-fetch {
  • trunk/dports/science/sparskit/Portfile

    r127404 r130949  
    4545# test requires FC, FFLAGS set because test makefiles lack explicit rule for .f -> .o and these are in the implicit rule
    4646
    47 if {![fortran_variant_isset]} {
    48     default_variants-append +gcc48
    49 }
    50 
    5147post-fetch {
    5248    build.args-append  F77=${configure.fc}
  • trunk/dports/science/wannier90/Portfile

    r125404 r130949  
    6060compilers.setup     require_fortran
    6161
    62 if {![fortran_variant_isset]} {
    63     default_variants-append +gcc48
    64 }
    65 
    6662variant threads description {Build with threaded ATLAS} {}
    6763
Note: See TracChangeset for help on using the changeset viewer.