Revision
91480
Author
ryandesign@macports.org
Date
2012-04-02 16:21:21 -0700 (Mon, 02 Apr 2012)

Log Message

notmuch: don't hardcode /opt/local

Modified Paths

Diff

Modified: trunk/dports/mail/notmuch/Portfile (91479 => 91480)


--- trunk/dports/mail/notmuch/Portfile	2012-04-02 23:08:02 UTC (rev 91479)
+++ trunk/dports/mail/notmuch/Portfile	2012-04-02 23:21:21 UTC (rev 91480)
@@ -34,7 +34,7 @@
 
 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"
+                    reinplace "s|libnotmuch.so.2|${prefix}/lib/libnotmuch.2.dylib|g" "${worksrcpath}/bindings/python/notmuch/globals.py"
 }
 
 variant emacs description {EMACS support} {