<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9bc93bf1eb8bb9a3db7d7448681f736bc38bee50">https://github.com/macports/macports-ports/commit/9bc93bf1eb8bb9a3db7d7448681f736bc38bee50</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 9bc93bf1eb8 msodbcsql17: Fix libmsodbcsql.17.dylib path for arm64
</span>9bc93bf1eb8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9bc93bf1eb8bb9a3db7d7448681f736bc38bee50
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun May 7 09:15:31 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> msodbcsql17: Fix libmsodbcsql.17.dylib path for arm64
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/67379
</span>---
databases/msodbcsql17/Portfile | 12 +++++-------
1 file changed, 5 insertions(+), 7 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 edfebf2453d..2415b88db09 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 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories databases
supported_archs arm64 x86_64
maintainers {jann @roederja} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,11 +19,13 @@ if {${os.arch} eq "i386"} {
</span> checksums rmd160 57399db0ecb5b308f555c17d6389b09263f82721 \
sha256 83dc6f02ceb2191e91aab0b547b41364d3961730e5c52566fe75e7351e566918 \
size 839474
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldprefix /usr/local
</span> } else {
distname ${name}-${version}-arm64
checksums rmd160 6acec6f2e623f3161758a2da927b1dda0f748c97 \
sha256 bf06df596ef5ed30c6d34f2e0969e964df32fa5dca81955c991d02d8ef600e7a \
size 754996
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set oldprefix /opt/homebrew
</span> }
worksrcdir msodbcsql-${version}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,15 +36,11 @@ depends_run port:unixODBC \
</span> use_configure no
patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/odbcinst.ini
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${oldprefix}|${prefix}|g" ${worksrcpath}/odbcinst.ini
</span> }
build {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.arch} eq "i386"} {
</span><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:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 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:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "install_name_tool -change ${oldprefix}/lib/libodbcinst.2.dylib ${prefix}/lib/libodbcinst.2.dylib ${worksrcpath}/lib/libmsodbcsql.17.dylib"
</span> system "install_name_tool -id ${prefix}/lib/libmsodbcsql.17.dylib ${worksrcpath}/lib/libmsodbcsql.17.dylib"
}
</pre><pre style='margin:0'>
</pre>