Ticket #42967: silo.diff

File silo.diff, 816 bytes (added by johnsonsr@…, 11 years ago)

Patch file

Line 
1*** Portfile-orig       2014-03-21 11:25:26.000000000 -0400
2--- Portfile    2014-03-21 11:25:46.000000000 -0400
3*************** variant hdf5 description {Enable HDF5 su
4*** 71,76 ****
5--- 71,90 ----
6      configure.args-append   --with-hdf5=${prefix}
7  }
8 
9+ variant fortran description {
10+     Enable fortran bindings.
11+ } {
12+     configure.args-delete       --disable-fortran
13+     configure.args-append       --enable-fortran
14+ }
15+
16+ if {(    [ variant_isset gcc44 ] || [ variant_isset gcc45 ]
17+       || [ variant_isset gcc46 ] || [ variant_isset gcc47 ]
18+       || [ variant_isset gcc48 ] || [ variant_isset gcc49 ] )
19+     && ![ variant_isset fortran ]} {
20+     default_variants +fortran
21+ }
22+
23  livecheck.type      regex
24  livecheck.url       ${homepage}downloads.html
25  livecheck.regex     ${name}-(\[0-9.\]+)-bsd