diff --git a/Portfile b/Portfile
index 28f2c17..09fb185 100644
a
|
b
|
configure.args --without-emacs |
50 | 50 | # disable silent rules |
51 | 51 | build.args V=1 |
52 | 52 | |
| 53 | variant python27 description {Python 2.7 bindings support} { |
| 54 | depends_lib-append port:python27 |
| 55 | post-destroot { |
| 56 | system -W ${worksrcpath}/bindings/python \ |
| 57 | "${prefix}/bin/python2.7 setup.py build\ |
| 58 | && ${prefix}/bin/python2.7 setup.py install\ |
| 59 | --prefix ${frameworks_dir}/Python.framework/Versions/2.7\ |
| 60 | --root=${destroot}" |
| 61 | } |
| 62 | } |
| 63 | |
53 | 64 | variant emacs description {EMACS support} { |
54 | 65 | depends_lib-append port:emacs |
55 | 66 | configure.args-delete --without-emacs |
diff --git a/files/patch-bindings-python-notmuch-globals.py.diff b/files/patch-bindings-python-notmuch-globals.py.diff
index bcc1ace..e9bfe7d 100644
a
|
b
|
|
1 | | --- bindings/python/notmuch/globals.py.orig 2013-08-03 06:29:40.000000000 -0500 |
2 | | +++ bindings/python/notmuch/globals.py 2013-08-04 21:09:48.000000000 -0500 |
3 | | @@ -24,7 +24,7 @@ |
| 1 | --- bindings/python/notmuch/globals.py.orig 2015-08-21 11:13:03.000000000 -0400 |
| 2 | +++ bindings/python/notmuch/globals.py 2015-08-21 12:13:27.000000000 -0400 |
| 3 | @@ -25,7 +25,7 @@ |
4 | 4 | try: |
5 | 5 | from os import uname |
6 | 6 | if uname()[0] == 'Darwin': |
7 | | - nmlib = CDLL("libnotmuch.4.dylib") |
8 | | + nmlib = CDLL("@PREFIX@/lib/libnotmuch.4.dylib") |
| 7 | - nmlib = CDLL("libnotmuch.{0:s}.dylib".format(SOVERSION)) |
| 8 | + nmlib = CDLL("@PREFIX@/lib/"+"libnotmuch.{0:s}.dylib".format(SOVERSION)) |
9 | 9 | else: |
10 | | nmlib = CDLL("libnotmuch.so.4") |
| 10 | nmlib = CDLL("libnotmuch.so.{0:s}".format(SOVERSION)) |
11 | 11 | except: |