diff options
author | obache <obache@pkgsrc.org> | 2011-02-13 08:09:43 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-02-13 08:09:43 +0000 |
commit | 1b513466f55294a1fa28492cbba0d1853e0897a9 (patch) | |
tree | f98dee564a63066f69eb601e2ce00f05286fe416 /lang | |
parent | 57c34c559e3b84ec0155f18dce5963cadd1d4e7e (diff) | |
download | pkgsrc-1b513466f55294a1fa28492cbba0d1853e0897a9.tar.gz |
change to match de-expanded ${PYSITELIB} in PRINT_PLIST_AWK.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python/distutils.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lang/python/distutils.mk b/lang/python/distutils.mk index f0b7885a6f4..308fef3e356 100644 --- a/lang/python/distutils.mk +++ b/lang/python/distutils.mk @@ -1,4 +1,4 @@ -# $NetBSD: distutils.mk,v 1.1 2010/07/24 12:32:22 gdt Exp $ +# $NetBSD: distutils.mk,v 1.2 2011/02/13 08:09:43 obache Exp $ # # Common logic for python distributions that use distutils. # @@ -36,9 +36,8 @@ PY_NO_EGG?= yes # Egg files have the version encoded, so generalize in PLIST, and provide # our conditional. PLIST_SUBST+= EGG_FILE=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info -# Somehow, this rule seems to run after PYSITELIB is de-expanded and -# therefore not work. -PRINT_PLIST_AWK+= { gsub("${PYSITELIB}/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info", \ +# PYSITELIB is already de-expanded +PRINT_PLIST_AWK+= { gsub("[$$]{PYSITELIB}/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info", \ "$${PLIST.eggfile}$${PYSITELIB}/$${EGG_FILE}") } .include "../../lang/python/extension.mk" |