<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository mpbb.
</pre>
<p><a href="https://github.com/macports/mpbb/commit/0918ef57a66bec3f05a2ce541b7cd0ecec087deb">https://github.com/macports/mpbb/commit/0918ef57a66bec3f05a2ce541b7cd0ecec087deb</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0918ef57a66bec3f05a2ce541b7cd0ecec087deb
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Mar 7 06:03:49 2018 -0600
<span style='display:block; white-space:pre;color:#404040;'> Put applications_dir inside nondefault prefix
</span>---
mpbb-selfupdate | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/mpbb-selfupdate b/mpbb-selfupdate
</span><span style='display:block; white-space:pre;color:#808080;'>index d73a785..4f85b75 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/mpbb-selfupdate
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/mpbb-selfupdate
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,7 +32,14 @@ selfupdate() {
</span> tar -xjf ${macports_distfile} || return
fi
cd ${macports_distname} || return
<span style='display:block; white-space:pre;background:#ffe0e0;'>- PATH=/usr/bin:/bin:/usr/sbin:/sbin ./configure --prefix="${option_prefix}" --enable-readline || return
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ "${option_prefix}" != "/opt/local" ]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ applications_dir_flag="--with-applications-dir=${option_prefix}/Applications/MacPorts"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : "${applications_dir_flag=}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PATH=/usr/bin:/bin:/usr/sbin:/sbin ./configure \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --prefix="${option_prefix}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${applications_dir_flag} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-readline || return
</span> make -j"$(sysctl -n hw.activecpu)" || return
make install || return
cd .. || return
</pre><pre style='margin:0'>
</pre>