On Mar 6, 2012, at 14:54, [email protected] wrote:

> Revision: 90477
>          http://trac.macports.org/changeset/90477
> Author:   [email protected]
> 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.


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to