summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2019-06-30 13:34:40 +0000
committergutteridge <gutteridge@pkgsrc.org>2019-06-30 13:34:40 +0000
commitb112659be0ac75e7e56aa6a5e4498941e1516d2f (patch)
tree241881845f655974e21b4b9fd319f85d904aa5ab /editors
parentffb40985b6ed32b5f490234d586a32eabc3e02a3 (diff)
downloadpkgsrc-b112659be0ac75e7e56aa6a5e4498941e1516d2f.tar.gz
pluma: explicitly note Python 2.7 tool dependency
Pluma sets Python 3.x as an application dependency through the standard means of doing so, but its build tooling is still dependent on 2.7, so we need both. Add a TOOL_DEPENDS here to fix issues noted in bulk builds.
Diffstat (limited to 'editors')
-rw-r--r--editors/pluma/Makefile3
-rw-r--r--editors/pluma/options.mk3
2 files changed, 4 insertions, 2 deletions
diff --git a/editors/pluma/Makefile b/editors/pluma/Makefile
index fa897d392f1..375b93973ee 100644
--- a/editors/pluma/Makefile
+++ b/editors/pluma/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2019/05/08 01:55:16 gutteridge Exp $
+# $NetBSD: Makefile,v 1.22 2019/06/30 13:34:40 gutteridge Exp $
# XXX: meta-pkgs/mate/Makefile.common includes pyversion.mk which sets the
# python version too early and clashes with PYTHON_VERSIONS_INCOMPATIBLE
@@ -8,6 +8,7 @@
.include "../../meta-pkgs/mate/Makefile.common"
DISTNAME= pluma-${VERSION:R}.1
+PKGREVISION= 1
CATEGORIES= editors
COMMENT= Small and lightweight UTF-8 text editor for MATE
diff --git a/editors/pluma/options.mk b/editors/pluma/options.mk
index 927fd486a25..5cef3746212 100644
--- a/editors/pluma/options.mk
+++ b/editors/pluma/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.9 2019/04/26 13:13:56 maya Exp $
+# $NetBSD: options.mk,v 1.10 2019/06/30 13:34:40 gutteridge Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pluma
PKG_SUPPORTED_OPTIONS= enchant
@@ -35,5 +35,6 @@ CONFIGURE_ARGS+= --disable-python
# XXX: Due to the mess described above, and the fact that python is required
# by the build process but is not python3 compatible, we need to override and
# use python2.7 explicitly.
+TOOL_DEPENDS+= python27-[0-9]*:../../lang/python27
PYTHONBIN= ${PREFIX}/bin/python2.7
.endif