pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python python/egg.mk: Increase quoting



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34951e3c5cd6
branches:  trunk
changeset: 445349:34951e3c5cd6
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Wed Jan 20 23:56:51 2021 +0000

description:
python/egg.mk: Increase quoting

When building some package, I found that the lack of quoting of
PYVERSSUFFIX caused a syntax error due to it ending up empty.  Add
quotes, which should be harmless to others and resolved the issue.
(Leftover from the freeze.)

diffstat:

 lang/python/egg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 594d06a89c7c -r 34951e3c5cd6 lang/python/egg.mk
--- a/lang/python/egg.mk        Wed Jan 20 23:54:24 2021 +0000
+++ b/lang/python/egg.mk        Wed Jan 20 23:56:51 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: egg.mk,v 1.30 2020/09/01 03:58:08 wiz Exp $
+# $NetBSD: egg.mk,v 1.31 2021/01/20 23:56:51 gdt Exp $
 #
 # Common logic to handle Python Eggs
 #
@@ -50,7 +50,7 @@
 ensurepip:
        ${SETENV} ${MAKE_ENV} ${PYTHONBIN} -m ensurepip --user
 .else
-.  if ${PYVERSSUFFIX} == "2.7"
+.  if "${PYVERSSUFFIX}" == "2.7"
 DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools44
 .  else
 DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools



Home | Main Index | Thread Index | Old Index