[63254] trunk/dports/editors/vim/Portfile

Jeremy Huddleston jeremyhu at macports.org
Wed Feb 17 17:41:43 PST 2010


~  $ sudo port -v install vim
Error: vim: Variant x11 conflicts with gtk2
Error: Unable to open port: Error evaluating variants
To report a bug, see <http://guide.macports.org/#project.tickets>

Uhm... making +x11 and +gtk2 conflict is a bad idea considering that +x11 IS a variant in the gtk2 port... so many people (dare I say MOST) that want +gtk2 are likely also +x11 ...

so this should really be handled a different way.

What is the point of the "+x11" version?  What does it actually do with X11?  Is it just the clipboard sharing or something?  I think this is a variant that is best punted... maybe just call the variant "no_gui" or something like that.

On Jan 30, 2010, at 11:23, raimue at macports.org wrote:

> Revision: 63254
>          http://trac.macports.org/changeset/63254
> Author:   raimue at macports.org
> Date:     2010-01-30 11:23:35 -0800 (Sat, 30 Jan 2010)
> Log Message:
> -----------
> editors/vim:
> Rename +x to +x11 with compatibility for name consistency in the ports tree
> 
> Modified Paths:
> --------------
>    trunk/dports/editors/vim/Portfile
> 
> Modified: trunk/dports/editors/vim/Portfile
> ===================================================================
> --- trunk/dports/editors/vim/Portfile	2010-01-30 17:55:39 UTC (rev 63253)
> +++ trunk/dports/editors/vim/Portfile	2010-01-30 19:23:35 UTC (rev 63254)
> @@ -6,7 +6,7 @@
> set vim_version     7.2
> set vim_patchlevel  350
> version             ${vim_version}.${vim_patchlevel}
> -revision            1
> +revision            2
> categories          editors
> maintainers         raimue
> description         Vi \"workalike\" with many additional features
> @@ -76,28 +76,29 @@
> 
> test.run            yes
> 
> -variant x description {Build CLI version with X support} conflicts athena gtk1 gtk2 motif {
> +variant x requires x11 description {Compatibility variant, requires +x11} {}
> +variant x11 description {Build CLI version with X support} conflicts athena gtk1 gtk2 motif {
>     configure.args-delete   --without-x
>     configure.args-append   --with-x
>     depends_lib-append      port:xorg-libXt
> }
> 
> -variant athena description {Build GUI version using Athena widgets} conflicts gtk1 gtk2 motif x {
> +variant athena description {Build GUI version using Athena widgets} conflicts gtk1 gtk2 motif x11 {
>     configure.args-delete   --enable-gui=no --without-x
>     configure.args-append   --enable-gui=athena --with-x --disable-darwin
>     depends_lib-append      port:xorg-libXaw port:xorg-libXt
> }
> -variant gtk1 description {Build GUI version using GTK 1.x widgets} conflicts athena gtk2 motif x {
> +variant gtk1 description {Build GUI version using GTK 1.x widgets} conflicts athena gtk2 motif x11 {
>     configure.args-delete   --enable-gui=no --without-x
>     configure.args-append   --enable-gui=gtk --with-x --disable-darwin
>     depends_lib-append      port:gtk1 port:xorg-libXt
> }
> -variant gtk2 description {Build GUI version using GTK 2.x widgets} conflicts athena gtk1 motif x {
> +variant gtk2 description {Build GUI version using GTK 2.x widgets} conflicts athena gtk1 motif x11 {
>     configure.args-delete   --enable-gui=no --without-x
>     configure.args-append   --enable-gui=gtk2 --with-x --disable-darwin
>     depends_lib-append      port:gtk2 port:xorg-libXt
> }
> -variant motif description {Build GUI version with Motif widgets} conflicts athena gtk1 gtk2 x {
> +variant motif description {Build GUI version with Motif widgets} conflicts athena gtk1 gtk2 x11 {
>     configure.args-delete   --enable-gui=no --without-x
>     configure.args-append   --enable-gui=motif --with-x --disable-darwin
>     depends_lib-append      lib:libXm:openmotif port:xorg-libXt
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes



More information about the macports-dev mailing list