summaryrefslogtreecommitdiff
path: root/mail/notmuch
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-02-26 12:17:04 +0000
committerwiz <wiz@pkgsrc.org>2015-02-26 12:17:04 +0000
commit4d5feb899b71c6be47c09ec8d4f341de192ebc30 (patch)
tree9d80e3dfb43ccd3edf293a6d3390709607dd8a85 /mail/notmuch
parentfef7383c9549c3a1edb1e78a636246131f32935d (diff)
downloadpkgsrc-4d5feb899b71c6be47c09ec8d4f341de192ebc30.tar.gz
Fix build with versioned py-docutils, and depend on 0.12.
From markd.
Diffstat (limited to 'mail/notmuch')
-rw-r--r--mail/notmuch/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/notmuch/Makefile b/mail/notmuch/Makefile
index 858c9f75a52..ba4b122ce58 100644
--- a/mail/notmuch/Makefile
+++ b/mail/notmuch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2014/12/18 10:52:58 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2015/02/26 12:17:04 wiz Exp $
DISTNAME= notmuch-0.19
PKGREVISION= 1
@@ -10,7 +10,7 @@ HOMEPAGE= http://notmuchmail.org/
COMMENT= Mail indexer
LICENSE= gnu-gpl-v3
-BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils
HAS_CONFIGURE= yes
USE_LANGUAGES= c c++
@@ -29,6 +29,12 @@ SUBST_FILES.gnuld= lib/Makefile.local
SUBST_SED.gnuld= -e 's/-Wl,--[^ ]*//g'
.endif
+SUBST_CLASSES+= docutils
+SUBST_SED.docutils+= -e "s,rst2man.py,rst2man-${PYVERSSUFFIX}.py,"
+SUBST_FILES.docutils+= configure doc/prerst2man.py
+SUBST_STAGE.docutils= pre-configure
+SUBST_MESSAGE.docutils= Fix docutils command names.
+
LDFLAGS.SunOS+= -lnsl
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # as of 0.19