<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/45c4463d5f5bf2b20f6c88c8c0410219e883620b">https://github.com/macports/macports-ports/commit/45c4463d5f5bf2b20f6c88c8c0410219e883620b</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 45c4463 mod_authn_otp: fix finding apxs
</span>45c4463 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 45c4463d5f5bf2b20f6c88c8c0410219e883620b
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Sep 10 19:22:40 2019 +1000
<span style='display:block; white-space:pre;color:#404040;'> mod_authn_otp: fix finding apxs
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The previous hacky approach only worked on systems that happened to have
</span><span style='display:block; white-space:pre;color:#404040;'> /usr/sbin/apxs and no apxs in places checked by configure earlier.
</span>---
www/mod_authn_otp/Portfile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/mod_authn_otp/Portfile b/www/mod_authn_otp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1256e4f..4f13e6f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/mod_authn_otp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/mod_authn_otp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,12 +33,11 @@ patchfiles otptool.h.patch \
</span> use_autoreconf yes
configure.args --mandir=${prefix}/share/man
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.env APXS=${prefix}/bin/apxs
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set apxs ${prefix}/bin/apxs
</span> set mdir ${destroot}${prefix}/lib/apache2/modules/
post-configure {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/usr/sbin/apxs|${apxs}|g" ${worksrcpath}/Makefile
</span> # sed doesn't know about option "-r", gsed does
reinplace "s| sed| ${prefix}/bin/gsed|g" ${worksrcpath}/Makefile
# when stripping .so, option "-x" has to be specified
</pre><pre style='margin:0'>
</pre>