[90395] trunk/dports/mail

Ryan Schmidt ryandesign at macports.org
Mon Mar 5 21:07:09 PST 2012


On Mar 4, 2012, at 08:56, yeled at macports.org wrote:

> Revision: 90395
>          http://trac.macports.org/changeset/90395
> Author:   yeled at macports.org
> Date:     2012-03-04 06:56:32 -0800 (Sun, 04 Mar 2012)
> Log Message:
> -----------
> import new email client, basics only for now
> 
> Added Paths:
> -----------
>    trunk/dports/mail/notmuch/
>    trunk/dports/mail/notmuch/Portfile


> +default_variants    +no_emacs
> +
> +post-configure  {
> +                    reinplace "s|install_name \$(SONAME)|install_name \$(libdir)/\$(SONAME)|g" "${worksrcpath}/lib/Makefile.local"
> +}
> +
> +variant emacs conflicts no_emacs description {EMACS support} {
> +                    depends_lib-append      port:emacs
> +}
> +variant no_emacs conflicts emacs description {No EMACS support} {
> +                    configure.args-append   --without-emacs
> +}

Now that MacPorts remembers negative variants, we no longer want to use variants whose names begin with "no_" or "without_" or other such prefixes. So there should only be a variant "emacs". The argument --without-emacs should be added in the global part of the port, and removed in the emacs variant.



More information about the macports-dev mailing list