<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/79fe865e7bbb03cb914bda2e87c8f0e3ec0b9bb8">https://github.com/macports/macports-ports/commit/79fe865e7bbb03cb914bda2e87c8f0e3ec0b9bb8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 79fe865e7bbb03cb914bda2e87c8f0e3ec0b9bb8
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Mon Apr 3 14:11:13 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> OpenBLAS: non-functional fixes: spaces in portfile
</span>---
math/OpenBLAS/Portfile | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/OpenBLAS/Portfile b/math/OpenBLAS/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c414648cad7..60174868de8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/OpenBLAS/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/OpenBLAS/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,13 +14,13 @@ maintainers {nicos @NicosPavlov} {michaelld @michaelld} openmaintainer
</span> description OpenBLAS is an optimized BLAS library based on GotoBLAS2
long_description {*}${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# block compilers that do not support thread-local storage.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Block compilers that do not support thread-local storage.
</span> compiler.cxx_standard 2011
compiler.c_standard 2011
compiler.thread_local_storage yes
if {${os.major} < 9} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #For older versions, we force native variant as there is no PPCG3 target in OpenBLAS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # For older versions, we force native variant as there is no PPCG3 target in OpenBLAS
</span> default_variants-append +native
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,7 +43,7 @@ if {[string first "-devel" $subport] > 0} {
</span>
github.livecheck.branch develop
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #Not using precompiled binaries in -devel support
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Not using precompiled binaries in -devel support
</span> default_variants-append +native
} else {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -167,7 +167,7 @@ pre-build {
</span> puts $makeINC "NO_AVX512 = 1"
}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #Add configurations to build (not configurable yet as per original Makefile.rule)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Add configurations to build (not configurable yet as per original Makefile.rule)
</span> puts $makeINC "BUILD_SINGLE = 1"
puts $makeINC "BUILD_DOUBLE = 1"
puts $makeINC "BUILD_COMPLEX = 1"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -191,12 +191,12 @@ platform darwin 8 {
</span>
muniversal.combine ${prefix}/lib/pkgconfig/openblas.pc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#Avoid conflict with Atlas
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Avoid conflict with Atlas
</span> build.args-append OPENBLAS_INCLUDE_DIR=${prefix}/include/openblas
destroot.args-append OPENBLAS_INCLUDE_DIR=${prefix}/include/openblas
post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #For compatibility, put header files in ${prefix}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # For compatibility, put header files in ${prefix}/include
</span> foreach h [glob -tails -directory "${destroot}${prefix}/include/openblas" *.h] {
if {${h} eq "cblas.h"} {
ln -s openblas/${h} ${destroot}${prefix}/include/cblas_openblas.h
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -209,7 +209,7 @@ post-destroot {
</span> reinplace "s|^openblas_config=|#openblas_config=|" ${destroot}${prefix}/lib/pkgconfig/openblas.pc
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #Correct library name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Correct library name
</span> system "install_name_tool -id \
${prefix}/lib/libopenblas-r1.dylib \
${destroot}${prefix}/lib/libopenblas-r1.dylib"
</pre><pre style='margin:0'>
</pre>