<pre style='margin:0'>
Jann Röder (roederja) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b46c90d00c7c3543cd0db3532b127c745469bcd3">https://github.com/macports/macports-ports/commit/b46c90d00c7c3543cd0db3532b127c745469bcd3</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new b46c90d00c7 msodbcsql17: Try to fix ARM build
</span>b46c90d00c7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b46c90d00c7c3543cd0db3532b127c745469bcd3
</span>Author: Jann Röder <mail@jann-roeder.net>
AuthorDate: Sat Apr 8 02:03:54 2023 +0100
<span style='display:block; white-space:pre;color:#404040;'> msodbcsql17: Try to fix ARM build
</span>---
databases/msodbcsql17/Portfile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/msodbcsql17/Portfile b/databases/msodbcsql17/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 63d5fd55b3b..edfebf2453d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/msodbcsql17/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/msodbcsql17/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,7 +2,7 @@ PortSystem 1.0
</span>
name msodbcsql17
version 17.10.2.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories databases
supported_archs arm64 x86_64
maintainers {jann @roederja} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,7 +38,11 @@ patch {
</span> }
build {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "install_name_tool -change /usr/local/lib/libodbcinst.2.dylib ${prefix}/lib/libodbcinst.2.dylib ${worksrcpath}/lib/libmsodbcsql.17.dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.arch} eq "i386"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "install_name_tool -change /usr/local/lib/libodbcinst.2.dylib ${prefix}/lib/libodbcinst.2.dylib ${worksrcpath}/lib/libmsodbcsql.17.dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "install_name_tool -change /opt/homebrew/lib/libodbcinst.2.dylib ${prefix}/lib/libodbcinst.2.dylib ${worksrcpath}/lib/libmsodbcsql.17.dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> system "install_name_tool -id ${prefix}/lib/libmsodbcsql.17.dylib ${worksrcpath}/lib/libmsodbcsql.17.dylib"
}
</pre><pre style='margin:0'>
</pre>