<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a1eb777cdc60a2437404362432b1b024aee64828">https://github.com/macports/macports-ports/commit/a1eb777cdc60a2437404362432b1b024aee64828</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 a1eb777cdc6 mozjs91: fix configuration when sdkroot is empty
</span>a1eb777cdc6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a1eb777cdc60a2437404362432b1b024aee64828
</span>Author: Evan Miller <emmiller@gmail.com>
AuthorDate: Sat Mar 19 09:31:41 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> mozjs91: fix configuration when sdkroot is empty
</span>---
lang/mozjs91/Portfile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/mozjs91/Portfile b/lang/mozjs91/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e36f5325ad9..3efa62f8f57 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/mozjs91/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/mozjs91/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -86,8 +86,13 @@ configure.cmd ../configure
</span>
configure.args --with-system-nspr \
--disable-jemalloc \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-readline \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-macos-sdk=${configure.sdkroot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-readline
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${configure.sdkroot} eq ""} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-macos-sdk=/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-macos-sdk=${configure.sdkroot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
configure.universal_args-delete --disable-dependency-tracking
</pre><pre style='margin:0'>
</pre>