<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fe2ad532e7aba2b55d9e4389d96333d2f946193f">https://github.com/macports/macports-ports/commit/fe2ad532e7aba2b55d9e4389d96333d2f946193f</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 fe2ad53 php-swoole: Add optional dependencies
</span>fe2ad53 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit fe2ad532e7aba2b55d9e4389d96333d2f946193f
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Oct 15 17:29:00 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> php-swoole: Add optional dependencies
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Add optional dependencies on brotli, hiredis, nghttp2, openssl.
</span>---
php/php-swoole/Portfile | 27 ++++++++++++++++++++++-----
1 file changed, 22 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/php/php-swoole/Portfile b/php/php-swoole/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 13c2a0e..8c40b6d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/php/php-swoole/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/php/php-swoole/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,22 +14,21 @@ php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2
</span> php.pecl yes
if {[vercmp ${php.branch} 7] >= 0} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup cxx11 1.1
</span> version 4.2.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span> checksums rmd160 b85a9f653ab7eceb30614c2c8c43ad01c2aecc80 \
sha256 4f576d6a9ac9728d76c2ddc8c9aef6ef6b336561396d841244ea08b38623a539 \
size 1126504
} elseif {[vercmp ${php.branch} 5.5] >= 0} {
# https://github.com/swoole/swoole-src/issues/1783
version 2.0.11
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span> checksums rmd160 7238015b141faf59d9662d4ab21c73bb66b58e35 \
sha256 07df75ede4bf0833d2c2443b666a5c3054bc498a78f5251babc1b0e7cc8cd573 \
size 769029
} else {
version 1.10.5
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span> checksums rmd160 48b8c3bf5999e5365b3e804440464114500120ed \
sha256 5c1dc0b82772ca1c352de4ddf20deeb35f06e4c5a01beba5a446d78a1f747bd2 \
size 730797
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,10 +39,28 @@ description an event-driven asynchronous & concurrent & coroutine ne
</span> long_description ${name} is ${description}.
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${version} 4.0.4] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup cxx11 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:hiredis \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:nghttp2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/libssl.dylib:openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span>
compiler.blacklist-append \
*gcc-4.0 *gcc-4.2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args --enable-async-redis \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-http2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-swoole \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-openssl-dir=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${version} 4.1] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:brotli
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_parallel_build yes
}
</pre><pre style='margin:0'>
</pre>