<pre style='margin:0'>
Chih-Hsuan Yen (yan12125) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8c79f9ff418308473c34e7e97cbe80318ddcbb43">https://github.com/macports/macports-ports/commit/8c79f9ff418308473c34e7e97cbe80318ddcbb43</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 8c79f9f swig: drop php 5.2 variant
</span>8c79f9f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8c79f9ff418308473c34e7e97cbe80318ddcbb43
</span>Author: Chih-Hsuan Yen <yan12125@macports.org>
AuthorDate: Sun May 5 13:44:43 2019 +0800
<span style='display:block; white-space:pre;color:#404040;'> swig: drop php 5.2 variant
</span>---
devel/swig/Portfile | 38 +++++++++++++++-----------------------
1 file changed, 15 insertions(+), 23 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/swig/Portfile b/devel/swig/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b92fa08..5f4166b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/swig/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/swig/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -93,15 +93,7 @@ subport swig-php {
</span> # patch to fix finding of "php-configXY"
patchfiles-append patch-configure.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant php52 conflicts php53 php54 php55 php56 php70 php71 php72 description {build using PHP 5.2} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-delete port:php72
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:php52
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --with-php=${prefix}/bin/php72
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --without-php5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-php5=${prefix}/bin/php52 --without-php
</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:#ffe0e0;'>- variant php53 conflicts php52 php54 php55 php56 php70 php71 php72 description {build using PHP 5.3} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant php53 conflicts php54 php55 php56 php70 php71 php72 description {build using PHP 5.3} {
</span> depends_lib-delete port:php72
depends_lib-append port:php53
configure.args-delete --with-php=${prefix}/bin/php72
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -109,7 +101,7 @@ subport swig-php {
</span> configure.args-append --with-php5=${prefix}/bin/php53 --without-php
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant php54 conflicts php52 php53 php55 php56 php70 php71 php72 description {build using PHP 5.4} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant php54 conflicts php53 php55 php56 php70 php71 php72 description {build using PHP 5.4} {
</span> depends_lib-delete port:php72
depends_lib-append port:php54
configure.args-delete --with-php=${prefix}/bin/php72
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -117,7 +109,7 @@ subport swig-php {
</span> configure.args-append --with-php5=${prefix}/bin/php54 --without-php
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant php55 conflicts php52 php53 php54 php56 php70 php71 php72 description {build using PHP 5.5} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant php55 conflicts php53 php54 php56 php70 php71 php72 description {build using PHP 5.5} {
</span> depends_lib-delete port:php72
depends_lib-append port:php55
configure.args-delete --with-php=${prefix}/bin/php72
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -125,7 +117,7 @@ subport swig-php {
</span> configure.args-append --with-php5=${prefix}/bin/php55 --without-php
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant php56 conflicts php52 php53 php54 php55 php70 php71 php72 description {build using PHP 5.6} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant php56 conflicts php53 php54 php55 php70 php71 php72 description {build using PHP 5.6} {
</span> depends_lib-delete port:php72
depends_lib-append port:php56
configure.args-delete --with-php=${prefix}/bin/php72
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -133,32 +125,32 @@ subport swig-php {
</span> configure.args-append --with-php5=${prefix}/bin/php56 --without-php
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant php70 conflicts php52 php53 php54 php55 php56 php71 php72 description {build using PHP 7.0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant php70 conflicts php53 php54 php55 php56 php71 php72 description {build using PHP 7.0} {
</span> depends_lib-delete port:php72
depends_lib-append port:php70
configure.args-delete --with-php=${prefix}/bin/php72
configure.args-append --with-php=${prefix}/bin/php70
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant php71 conflicts php52 php53 php54 php55 php56 php70 php72 description {build using PHP 7.1} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant php71 conflicts php53 php54 php55 php56 php70 php72 description {build using PHP 7.1} {
</span> depends_lib-delete port:php72
depends_lib-append port:php71
configure.args-delete --with-php=${prefix}/bin/php72
configure.args-append --with-php=${prefix}/bin/php71
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant php72 conflicts php52 php53 php54 php55 php56 php70 php71 description {build using PHP 7.2} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant php72 conflicts php53 php54 php55 php56 php70 php71 description {build using PHP 7.2} {}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![variant_isset php52] && ![variant_isset php53] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset php54] && ![variant_isset php55] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset php56] && ![variant_isset php70] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset php71] && ![variant_isset php72]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![variant_isset php53] && ![variant_isset php54] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset php55] && ![variant_isset php56] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset php70] && ![variant_isset php71] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset php72]} {
</span> default_variants +php72
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![variant_isset php52] && ![variant_isset php53] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset php54] && ![variant_isset php55] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset php56] && ![variant_isset php70] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset php71] && ![variant_isset php72]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![variant_isset php53] && ![variant_isset php54] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset php55] && ![variant_isset php56] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset php70] && ![variant_isset php71] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset php72]} {
</span> ui_error "\n\nA +phpXY variant must be selected; the variant '-php72' cannot be used alone.\n"
return -code error "Invalid variant selection"
}
</pre><pre style='margin:0'>
</pre>