<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/59b5c9a45dae998ec6e8cbc383f9157f04cb8cfb">https://github.com/macports/macports-ports/commit/59b5c9a45dae998ec6e8cbc383f9157f04cb8cfb</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 59b5c9a sphinx: Fix subport definition for libsphinxclient
</span>59b5c9a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 59b5c9a45dae998ec6e8cbc383f9157f04cb8cfb
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Fri Dec 2 19:54:40 2016 +0100
<span style='display:block; white-space:pre;color:#404040;'> sphinx: Fix subport definition for libsphinxclient
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The subport definition was inside the conditional block that is only
</span><span style='display:block; white-space:pre;color:#404040;'> evaluated if the subport matched the port name. This effectively hid the
</span><span style='display:block; white-space:pre;color:#404040;'> subport, so it was never parsed. Instead, the sphinx port was added
</span><span style='display:block; white-space:pre;color:#404040;'> twice to PortIndex. Moving the subport definition to the end fixes the
</span><span style='display:block; white-space:pre;color:#404040;'> problem.
</span>---
textproc/sphinx/Portfile | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/sphinx/Portfile b/textproc/sphinx/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a9cee27..b6f3729 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/sphinx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/sphinx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -155,6 +155,13 @@ if {![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_
</span> default_variants +mysql57
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url ${homepage}downloads/release/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex ${name}-(\[0-9.\]+)-release${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> subport libsphinxclient {
license LGPL-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -169,10 +176,3 @@ subport libsphinxclient {
</span>
use_parallel_build no
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${homepage}downloads/release/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex ${name}-(\[0-9.\]+)-release${extract.suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span></pre><pre style='margin:0'>
</pre>