Changeset 60340


Ignore:
Timestamp:
Nov 9, 2009, 1:21:43 PM (9 years ago)
Author:
takeshi@…
Message:

g95: removed a redundant condition to detect Snow Leopard by bringing platform and default_variants before if

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/g95/Portfile

    r60290 r60340  
    2020                http://ftp.g95.org/v${version}/:g95
    2121
    22 if {[variant_isset gcc42] || (${os.platform}=="darwin" && ${os.major}>=10)} {
     22platform darwin 10 {}
     23if {[variant_isset darwin_10]} {
     24    default_variants +gcc42
     25}
     26
     27if {[variant_isset gcc42]} {
    2328    set version_gcc 4.2.4
    2429    dist_subdir     gcc42
     
    125130}
    126131
    127 platform darwin 10 {}
    128 if {[variant_isset darwin_10]} {
    129     default_variants +gcc42
    130 }
    131 
    132132variant gcc42 description {link against gcc42} {
    133133    master_sites-delete ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.0.4/:gcc
Note: See TracChangeset for help on using the changeset viewer.