Modified: trunk/dports/math/qrupdate/Portfile (144144 => 144145)
--- trunk/dports/math/qrupdate/Portfile 2016-01-03 06:26:10 UTC (rev 144144)
+++ trunk/dports/math/qrupdate/Portfile 2016-01-03 06:51:03 UTC (rev 144145)
@@ -93,18 +93,16 @@
test.args-append BLAS=-lopenblas LAPACK=-lopenblas
}
+if {![variant_isset accelerate] && ![variant_isset openblas] && ![variant_isset atlas] } {
+ default_variants-append +accelerate
+}
+
if {[variant_isset g95]} {
- if {![variant_isset atlas]} {
- default_variants-append +accelerate
- }
post-patch {
reinplace "s|Makeconf|Makeconf.g95|" ${worksrcpath}/Makefile
reinplace "s|Makeconf|Makeconf.g95|" ${worksrcpath}/src/Makefile
}
} else {
- if {![variant_isset accelerate]} {
- default_variants-append +atlas
- }
post-patch {
reinplace "s|gfortran|${configure.fc}|" ${worksrcpath}/Makeconf
}