pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/pluma More python fallout, we need to specific...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52617c42cca9
branches:  trunk
changeset: 364573:52617c42cca9
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jun 29 19:37:26 2017 +0000

description:
More python fallout, we need to specifically override PYTHONBIN and
ensure python2.7 is used during the build process, even though it is
incompatible, because the scripts are not python3 compatible.

diffstat:

 editors/pluma/options.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 15f750aa3dc9 -r 52617c42cca9 editors/pluma/options.mk
--- a/editors/pluma/options.mk  Thu Jun 29 17:51:46 2017 +0000
+++ b/editors/pluma/options.mk  Thu Jun 29 19:37:26 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2017/06/28 15:56:22 jperkin Exp $
+# $NetBSD: options.mk,v 1.5 2017/06/29 19:37:26 jperkin Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.pluma
 PKG_SUPPORTED_OPTIONS= enchant
@@ -33,4 +33,8 @@
 .include "../../x11/py-gtksourceview/buildlink3.mk"
 .else
 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.
+PYTHONBIN=             ${LOCALBASE}/bin/python2.7
 .endif



Home | Main Index | Thread Index | Old Index