<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/73bd315c9db522606430371d9b7202eed0cb4ab6">https://github.com/macports/macports-ports/commit/73bd315c9db522606430371d9b7202eed0cb4ab6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 73bd315c9db522606430371d9b7202eed0cb4ab6
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Sun Oct 15 12:59:06 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> mod_proxy_html: build using apache22
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Note: mod_proxy_html is built into apache2 (2.4.x)
</span>---
www/mod_proxy_html/Portfile | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/mod_proxy_html/Portfile b/www/mod_proxy_html/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 50116d7..dd25b49 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/mod_proxy_html/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/mod_proxy_html/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,7 +11,7 @@ description apache output filter to rewrite HTML
</span> long_description mod_proxy_html is an output filter to rewrite HTML links in a proxy situation, to ensure that links work for users outside the proxy. It serves the same purpose as Apache's ProxyPassReverse directive does for HTTP headers, and is an essential component of a reverse proxy.
homepage http://apache.webthing.com/mod_proxy_html/
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:apache2 port:libxml2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:apache22 port:libxml2
</span>
use_bzip2 yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,21 +21,21 @@ checksums md5 badb7ee9fb3b892437589d7ceb21637c \
</span> worksrcdir ${name}
use_configure no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd ${prefix}/apache2/bin/apxs -c -I${prefix}/include/libxml2 ${name}.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.cmd ${prefix}/apache22/bin/apxs -c -I${prefix}/include/libxml2 ${name}.c
</span> build.target
destroot.violate_mtree yes
destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${prefix}/apache2/modules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${prefix}/apache2/conf/extra
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "${prefix}/apache2/build/instdso.sh SH_LIBTOOL='${prefix}/share/apr-1/build/libtool' ${worksrcpath}/${name}.la ${destroot}${prefix}/apache2/modules"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${worksrcpath}/proxy_html.conf ${destroot}${prefix}/apache2/conf/extra
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${destroot}${prefix}/apache22/modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${destroot}${prefix}/apache22/conf/extra
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "${prefix}/apache22/build/instdso.sh SH_LIBTOOL='${prefix}/share/apr-1/build/libtool' ${worksrcpath}/${name}.la ${destroot}${prefix}/apache22/modules"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${worksrcpath}/proxy_html.conf ${destroot}${prefix}/apache22/conf/extra
</span> }
post-install {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "\nNow edit ${prefix}/apache2/httpd.conf and add the following lines at the end of the LoadModules section:\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_msg "\nNow edit ${prefix}/apache22/httpd.conf and add the following lines at the end of the LoadModules section:\n"
</span> ui_msg " LoadFile ${prefix}/lib/libxml2.dylib"
ui_msg " LoadModule proxy_html_module modules/mod_proxy_html.so"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "\n...also add this line to the bottom of ${prefix}/apache2/httpd.conf\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_msg "\n...also add this line to the bottom of ${prefix}/apache22/conf/httpd.conf\n"
</span> ui_msg " <IfModule proxy_html>\n Include conf/extra/proxy_html.conf\n </IfModule>\n"
}
</pre><pre style='margin:0'>
</pre>