<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/26eae7f8f3a1dd97c611b72c54f3931cb7ebd357">https://github.com/macports/macports-ports/commit/26eae7f8f3a1dd97c611b72c54f3931cb7ebd357</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 26eae7f vim, MacVim: Consolidate feature variants
</span>26eae7f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 26eae7f8f3a1dd97c611b72c54f3931cb7ebd357
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Wed Nov 7 00:41:13 2018 +0100
<span style='display:block; white-space:pre;color:#404040;'> vim, MacVim: Consolidate feature variants
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Generate feature variants to avoid code duplication. Ensure the
</span><span style='display:block; white-space:pre;color:#404040;'> configure argument --with-features=normal will be used when no variant
</span><span style='display:block; white-space:pre;color:#404040;'> is selected, as the default feature level would be "huge" without any
</span><span style='display:block; white-space:pre;color:#404040;'> argument.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Increment revision although the default build will not change to ensure
</span><span style='display:block; white-space:pre;color:#404040;'> all installations get these changes.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://github.com/macports/macports-ports/pull/2930
</span>---
editors/MacVim/Portfile | 12 ++++++++----
editors/vim/Portfile | 19 ++++++++-----------
2 files changed, 16 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/editors/MacVim/Portfile b/editors/MacVim/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e1d8b1d..d0b4413 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/editors/MacVim/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/editors/MacVim/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,6 +7,7 @@ set snapshot 151
</span> github.setup macvim-dev macvim ${snapshot} snapshot-
name MacVim
version ${vim_version}.snapshot${snapshot}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories editors
platforms darwin
license Vim GPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -103,11 +104,14 @@ if {![variant_isset big] && ![variant_isset huge]} {
</span> default_variants +huge
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant big description {Build big feature set} conflicts huge {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant huge description {Build huge feature set} conflicts big {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-features=huge
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append --with-features=normal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set levels {big huge}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach level ${levels} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant ${level} description "Build ${level} feature set" conflicts {*}[lsearch -inline -all -not -exact $levels $level] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --with-features=normal --with-features=$level
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant xim description {Build with support for X Input Method} {
configure.args-append --enable-xim
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/editors/vim/Portfile b/editors/vim/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 00e8538..cb2fc46 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/editors/vim/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/editors/vim/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ name vim
</span> set vim_version 8.1
set vim_patchlevel 0280
github.setup vim vim ${vim_version}.${vim_patchlevel} v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories editors
platforms darwin freebsd
license Vim GPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -87,18 +88,14 @@ variant motif description {Build GUI version with Motif widgets} requires x11 co
</span> depends_lib-append lib:libXm:openmotif
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant tiny description {Build tiny feature set} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-features=tiny
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant small description {Build small feature set} conflicts tiny {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-features=small
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant big description {Build big feature set} conflicts tiny small {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-features=big
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant huge description {Build huge feature set} conflicts tiny small big {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-features=huge
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append --with-features=normal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set levels {tiny small big huge}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach level ${levels} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant ${level} description "Build ${level} feature set" conflicts {*}[lsearch -inline -all -not -exact $levels $level] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --with-features=normal --with-features=$level
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant xim description {Build with support for X Input Method} {
configure.args-append --enable-xim
}
</pre><pre style='margin:0'>
</pre>