<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/eaa647aa57248140c2a545850b3f8aa31d730219">https://github.com/macports/macports-ports/commit/eaa647aa57248140c2a545850b3f8aa31d730219</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit eaa647aa57248140c2a545850b3f8aa31d730219
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Mon Oct 22 21:01:07 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> hugin-app: use linear_algebra PG
</span>---
graphics/hugin-app/Portfile | 55 +++++++--------------------------------------
1 file changed, 8 insertions(+), 47 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/hugin-app/Portfile b/graphics/hugin-app/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e213ee7..3120b18 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/hugin-app/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/hugin-app/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,6 +6,7 @@ PortGroup cxx11 1.1
</span> PortGroup perl5 1.0
PortGroup wxWidgets 1.0
PortGroup active_variants 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup linear_algebra 1.0
</span>
name hugin-app
version 2017.0.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,6 +35,8 @@ wxWidgets.use wxWidgets-3.0-cxx11
</span> checksums rmd160 2a0cf1af75d384abca0a62d80480fc815f63e0bf \
sha256 86646ea27f32b959d38e7d36270703214b1ae961e379dd64b14d027139cd4609
<span style='display:block; white-space:pre;background:#e0ffe0;'>+linalg.setup noveclibfort
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # do not assume default values that MacPorts sets
patchfiles-append patch-no_default.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -100,7 +103,11 @@ configure.args-append \
</span> -DINSTALL_OSX_BUNDLE_DIR=${applications_dir} \
-DwxWidgets_CONFIG_EXECUTABLE=${wxWidgets.wxconfig} \
-DBUILD_HSI=OFF \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DENABLE_LAPACK=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DENABLE_LAPACK=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append ${cmake_linalglib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
set pythons_suffixes {27 36 37}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -152,52 +159,6 @@ pre-fetch {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant accelerate conflicts atlas openblas description {Use Apple Accelerate Libraries} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DENABLE_LAPACK=OFF \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DENABLE_LAPACK=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DBLA_VENDOR=Apple
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant atlas conflicts accelerate openblas description {Use MacPorts ATLAS Libraries} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:atlas
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DENABLE_LAPACK=OFF \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DENABLE_LAPACK=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DBLA_VENDOR=ATLAS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # FindBLAS.cmake and FindLAPACK.cmake do not seem to find MacPorts Atlas properly
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DBLAS_LIBRARIES=satlas \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DLAPACK_LIBRARIES=satlas
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant openblas conflicts atlas accelerate description {Use MacPorts OpenBLAS Libraries} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append path:lib/libopenblas.dylib:OpenBLAS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants path:lib/libopenblas.dylib:OpenBLAS lapack
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DENABLE_LAPACK=OFF \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DENABLE_LAPACK=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DBLA_VENDOR=OpenBLAS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset accelerate] && ![variant_isset atlas] && ![variant_isset openblas]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append +accelerate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-fetch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![variant_isset accelerate] && ![variant_isset openblas] && ![variant_isset atlas] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "You must select either the +accelerate, +atlas, or +openblas variant for linear algebra."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "No linear-algebra variant selected."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> livecheck.type regex
livecheck.url ${homepage}
livecheck.regex Hugin-(\[.0-9\]+) released
</pre><pre style='margin:0'>
</pre>