summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-03-18 15:04:35 +0000
committerjoerg <joerg@pkgsrc.org>2015-03-18 15:04:35 +0000
commitdfabd45cf5cf98db06bca7c60f234edec57f8b72 (patch)
tree46e305d6c19eb5d9082acc4aa5536dbd37cfd768 /sysutils
parent457db822e11b5cdf64e3892fbeee7eb68a043ab7 (diff)
downloadpkgsrc-dfabd45cf5cf98db06bca7c60f234edec57f8b72.tar.gz
Fix build with versioned spinx.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/salt-docs/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/salt-docs/Makefile b/sysutils/salt-docs/Makefile
index 39b9a37ec6a..6af375e6971 100644
--- a/sysutils/salt-docs/Makefile
+++ b/sysutils/salt-docs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2014/05/09 07:37:20 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2015/03/18 15:04:35 joerg Exp $
DISTNAME= salt-0.10.5
PKGNAME= ${DISTNAME:S/-/-docs-/}
@@ -14,6 +14,8 @@ NO_CONFIGURE= yes
BUILD_DIRS= doc
BUILD_TARGET= html
+MAKE_FLAGS+= SPHINXBUILD=${PREFIX}/bin/sphinx-build${PYVERSSUFFIX}
+
HTMLDIR= share/doc/salt
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
@@ -30,6 +32,6 @@ PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 0.10.5
# The upstream salt project does not say what version of sphinx is required.
.include "../../lang/python/pyversion.mk"
-BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.2.3nb1*:../../textproc/py-sphinx
.include "../../mk/bsd.pkg.mk"