<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/fb6f6291c20271815a0181720258531d352f568b">https://github.com/macports/macports-ports/commit/fb6f6291c20271815a0181720258531d352f568b</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 fb6f629  graphviz: disable broken php variant
</span>fb6f629 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit fb6f6291c20271815a0181720258531d352f568b
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sat Mar 17 10:46:30 2018 +1100

<span style='display:block; white-space:pre;color:#404040;'>    graphviz: disable broken php variant
</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/45149
</span>---
 graphics/graphviz/Portfile | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/graphviz/Portfile b/graphics/graphviz/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index caa2e16..f3c185b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/graphviz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/graphviz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -162,19 +162,22 @@ variant perl description {Include PERL 5 language bindings} {
</span>     configure.perl              ${prefix}/bin/perl
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant php description {Include PHP language bindings} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_lib-append          path:bin/php:php5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_build-append        port:swig-php5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.args-replace      --disable-swig --enable-swig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.args-replace      --disable-php --enable-php
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        reinplace "s|/usr/include/php|${prefix}/include/php|g" ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        reinplace "s|/usr/lib\${LIBPOSTFIX}/php|${prefix}/lib\${LIBPOSTFIX}/php|g" ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        reinplace "s|/usr/share/php|${prefix}/share/php|g" ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# TODO: support current PHP versions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/45149
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#variant php description {Include PHP language bindings} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#    depends_lib-append          path:bin/php:php5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#    depends_build-append        port:swig-php5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#    configure.args-replace      --disable-swig --enable-swig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#    configure.args-replace      --disable-php --enable-php
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#    post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#        reinplace "s|/usr/include/php|${prefix}/include/php|g" ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#        reinplace "s|/usr/lib\${LIBPOSTFIX}/php|${prefix}/lib\${LIBPOSTFIX}/php|g" ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#        reinplace "s|/usr/share/php|${prefix}/share/php|g" ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#}
</span> 
 variant python27 description {Include Python 2.7 language bindings} {
     depends_lib-append          port:python27
</pre><pre style='margin:0'>

</pre>