[90477] trunk/dports/mail/notmuch/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Mar 6 15:19:53 PST 2012


On Mar 6, 2012, at 14:54, yeled at macports.org wrote:

> Revision: 90477
>          http://trac.macports.org/changeset/90477
> Author:   yeled at macports.org
> Date:     2012-03-06 12:54:28 -0800 (Tue, 06 Mar 2012)
> Log Message:
> -----------
> new variant style (thanks Ryan) and a reinplace ready for python bindings
> 
> Modified Paths:
> --------------
>    trunk/dports/mail/notmuch/Portfile


> +default_variants    -emacs

Not really necessary since the MacPorts default is for variants not to be selected.


> post-configure  {
>                     reinplace "s|install_name \$(SONAME)|install_name \$(libdir)/\$(SONAME)|g" "${worksrcpath}/lib/Makefile.local"
> +                    reinplace "s|libnotmuch.so.2|/opt/local/lib/libnotmuch.2.dylib|g" "${worksrcpath}/bindings/python/notmuch/globals.py"
> }

/opt/local should probably not be hardcoded here; you probably want ${prefix} instead.




More information about the macports-dev mailing list