Ticket #34871: dotwrp+gcc47.patch
File dotwrp+gcc47.patch, 1.7 KB (added by lukas.reichlin@…, 12 years ago) |
---|
-
(a) Portfile_orig vs. (b) Portfile
a b 19 19 20 20 use_configure no 21 21 22 if { ![variant_isset g95] && ![variant_isset gcc44] && ![variant_isset gcc46] } {22 if { ![variant_isset g95] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} { 23 23 default_variants +gcc45 24 24 } 25 25 26 26 if {[variant_isset g95]} { 27 27 set fc ${prefix}/bin/g95 28 } elseif {[variant_isset gcc47]} { 29 set fc ${prefix}/bin/gfortran-mp-4.7 28 30 } elseif {[variant_isset gcc46]} { 29 31 set fc ${prefix}/bin/gfortran-mp-4.6 30 32 } elseif {[variant_isset gcc45]} { … … 44 46 xinstall -m 644 ${worksrcpath}/lib${name}.a ${destroot}${prefix}/lib 45 47 } 46 48 47 variant g95 conflicts gcc44 gcc45 gcc46 description {compile with g95} {49 variant g95 conflicts gcc44 gcc45 gcc46 gcc47 description {compile with g95} { 48 50 depends_build port:g95 49 51 } 50 52 51 variant gcc44 conflicts g95 gcc45 gcc46 description {compile with gfortran-mp-4.4} {53 variant gcc44 conflicts g95 gcc45 gcc46 gcc47 description {compile with gfortran-mp-4.4} { 52 54 depends_build port:gcc44 53 55 } 54 56 55 variant gcc45 conflicts g95 gcc44 gcc46 description {compile with gfortran-mp-4.5} {57 variant gcc45 conflicts g95 gcc44 gcc46 gcc47 description {compile with gfortran-mp-4.5} { 56 58 depends_build port:gcc45 57 59 } 58 60 59 variant gcc46 conflicts g95 gcc44 gcc45 description {compile with gfortran-mp-4.6} {61 variant gcc46 conflicts g95 gcc44 gcc45 gcc47 description {compile with gfortran-mp-4.6} { 60 62 depends_build port:gcc46 61 63 } 64 65 variant gcc47 conflicts g95 gcc44 gcc45 gcc46 description {compile with gfortran-mp-4.7} { 66 depends_build port:gcc47 67 }