summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-02-13 08:07:39 +0000
committerobache <obache@pkgsrc.org>2011-02-13 08:07:39 +0000
commit57c34c559e3b84ec0155f18dce5963cadd1d4e7e (patch)
tree1c43ba42567cebc3ecad1a4fdc74e6491908c871 /lang/python
parent8045df827b0edd30ba41c3f8228e90458fc3a59a (diff)
downloadpkgsrc-57c34c559e3b84ec0155f18dce5963cadd1d4e7e.tar.gz
remove "next;" in PRINT_PLIST_AWK, it may prevent additional substitute,
like ${EGG_INFODIR}.
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/pyversion.mk11
1 files changed, 4 insertions, 7 deletions
diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk
index 62100ff162a..6def5063256 100644
--- a/lang/python/pyversion.mk
+++ b/lang/python/pyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.81 2010/07/24 12:32:22 gdt Exp $
+# $NetBSD: pyversion.mk,v 1.82 2011/02/13 08:07:39 obache Exp $
# This file determines which Python version is used as a dependency for
# a package.
@@ -167,14 +167,11 @@ PYSITELIB!= ${PYTHONBIN} -c "import distutils.sysconfig; \
print distutils.sysconfig.get_python_lib(0, 0, \"\")" || ${ECHO} ""
PRINT_PLIST_AWK+= /^${PYINC:S|/|\\/|g}/ \
- { gsub(/${PYINC:S|/|\\/|g}/, "$${PYINC}"); \
- print; next; }
+ { gsub(/${PYINC:S|/|\\/|g}/, "$${PYINC}") }
PRINT_PLIST_AWK+= /^${PYSITELIB:S|/|\\/|g}/ \
- { gsub(/${PYSITELIB:S|/|\\/|g}/, "$${PYSITELIB}"); \
- print; next; }
+ { gsub(/${PYSITELIB:S|/|\\/|g}/, "$${PYSITELIB}") }
PRINT_PLIST_AWK+= /^${PYLIB:S|/|\\/|g}/ \
- { gsub(/${PYLIB:S|/|\\/|g}/, "$${PYLIB}"); \
- print; next; }
+ { gsub(/${PYLIB:S|/|\\/|g}/, "$${PYLIB}") }
.endif
ALL_ENV+= PYTHON=${PYTHONBIN}