diff --git a/Portfile b/Portfile
index dd2edd2..28f2c17 100644
a
|
b
|
depends_build port:pkgconfig |
27 | 27 | |
28 | 28 | depends_lib port:xapian-bindings\ |
29 | 29 | port:gmime\ |
30 | | port:talloc |
| 30 | port:talloc\ |
| 31 | port:py27-sphinx\ |
| 32 | port:doxygen |
31 | 33 | |
32 | | patchfiles patch-bindings-python-notmuch-globals.py.diff |
| 34 | patchfiles patch-bindings-python-notmuch-globals.py.diff \ |
| 35 | patch-configure.diff |
33 | 36 | |
34 | 37 | post-patch { |
35 | 38 | reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/bindings/python/notmuch/globals.py |
diff --git a/files/patch-configure.diff b/files/patch-configure.diff
new file mode 100644
index 0000000..c27e67c
-
|
+
|
|
| 1 | --- configure.orig 2015-08-21 11:52:37.000000000 -0400 |
| 2 | +++ configure 2015-08-21 11:52:33.000000000 -0400 |
| 3 | @@ -377,7 +377,7 @@ |
| 4 | printf "Checking for python... " |
| 5 | have_python=0 |
| 6 | |
| 7 | -for name in python python2 python3; do |
| 8 | +for name in ${PREFIX}/bin/python2.7; do |
| 9 | if command -v $name > /dev/null; then |
| 10 | have_python=1 |
| 11 | python=$name |