Changeset 110972


Ignore:
Timestamp:
Sep 12, 2013, 3:31:06 AM (6 years ago)
Author:
takeshi@…
Message:

g95: fixed post-install for +gcc40

File:
1 edited

Legend:

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

    r110222 r110972  
    157157    ln -s ${prefix}/${gcclib}/libf95.a ${destroot}${prefix}/lib/libf95.a
    158158
    159     delete ${destroot}${prefix}/${gcclib}/libgcc_s.1.dylib
    160     ln -s ${prefix}/lib/libgcc/libgcc_s.1.dylib ${destroot}${prefix}/${gcclib}/libgcc_s.1.dylib
     159    if {[variant_isset gcc40]} {
     160        delete ${destroot}${prefix}/${gcclib}/libgcc_s.1.0.dylib
     161        ln -s ${prefix}/lib/libgcc/libgcc_s.1.dylib ${destroot}${prefix}/${gcclib}/libgcc_s.1.0.dylib
     162    } else {
     163        delete ${destroot}${prefix}/${gcclib}/libgcc_s.1.dylib
     164        ln -s ${prefix}/lib/libgcc/libgcc_s.1.dylib ${destroot}${prefix}/${gcclib}/libgcc_s.1.dylib
     165    }
    161166}
    162167
Note: See TracChangeset for help on using the changeset viewer.