pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python Restore PRINT_PLIST_AWK logic in so far th...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a98790aabbb6
branches: trunk
changeset: 560867:a98790aabbb6
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Jul 02 09:37:12 2009 +0000
description:
Restore PRINT_PLIST_AWK logic in so far they don't create @dirrm
entries. I pruned them too aggressively as the @dirrm matching here was
conditional. OK wiz
diffstat:
lang/python/pyversion.mk | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 19d916eb1cb9 -r a98790aabbb6 lang/python/pyversion.mk
--- a/lang/python/pyversion.mk Thu Jul 02 06:08:36 2009 +0000
+++ b/lang/python/pyversion.mk Thu Jul 02 09:37:12 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.71 2009/06/14 22:58:03 joerg Exp $
+# $NetBSD: pyversion.mk,v 1.72 2009/07/02 09:37:12 joerg Exp $
# This file determines which Python version is used as a dependency for
# a package.
@@ -164,6 +164,16 @@
print distutils.sysconfig.get_python_lib(0, 1, \"\")" || ${ECHO} ""
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; }
+PRINT_PLIST_AWK+= /^${PYSITELIB:S|/|\\/|g}/ \
+ { gsub(/${PYSITELIB:S|/|\\/|g}/, "$${PYSITELIB}"); \
+ print; next; }
+PRINT_PLIST_AWK+= /^${PYLIB:S|/|\\/|g}/ \
+ { gsub(/${PYLIB:S|/|\\/|g}/, "$${PYLIB}"); \
+ print; next; }
.endif
ALL_ENV+= PYTHON=${PYTHONBIN}
Home |
Main Index |
Thread Index |
Old Index