<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch standard_configure
in repository macports-base.

</pre>
<p><a href="https://github.com/macports/macports-base/commit/6828ec137c74cadd0467a9b1fb298cf8458c39c3">https://github.com/macports/macports-base/commit/6828ec137c74cadd0467a9b1fb298cf8458c39c3</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6828ec137c74cadd0467a9b1fb298cf8458c39c3
</span>Author: Ryan Carsten Schmidt <git@ryandesign.com>
AuthorDate: Thu Apr 4 00:29:25 2024 -0500

<span style='display:block; white-space:pre;color:#404040;'>    Fix standard_configure.sh for out-of-source builds
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/28001
</span>---
 standard_configure.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/standard_configure.sh b/standard_configure.sh
</span><span style='display:block; white-space:pre;color:#808080;'>index a52bdc13b..841da5d8e 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/standard_configure.sh
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/standard_configure.sh
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,9 +1,11 @@
</span> #!/bin/sh
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+script_dir=$(dirname "$0")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # This is how we run configure when building binary packages (more or less,
 # minus architecture selection). If you don't want a custom build, this
 # is probably how you should run it too.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-env PATH=/usr/bin:/bin:/usr/sbin:/sbin CFLAGS="-pipe -Os" ./configure --enable-readline "$@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+env PATH=/usr/bin:/bin:/usr/sbin:/sbin CFLAGS="-pipe -Os" "$script_dir"/configure --enable-readline "$@"
</span> 
 # If you want to use a different prefix, add this to the above:
 # --prefix=/some/path --with-applications-dir=/some/path/Applications
</pre><pre style='margin:0'>

</pre>