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 | bddcf99b911fec48fac823ee500d4e157e9cd2d7 (patch) | |
tree | f98dee564a63066f69eb601e2ce00f05286fe416 | |
parent | 2f3a459e460ac0d7284fb9e26b4fd21579ed0103 (diff) | |
download | pkgsrc-bddcf99b911fec48fac823ee500d4e157e9cd2d7.tar.gz |
change to match de-expanded ${PYSITELIB} in PRINT_PLIST_AWK.
-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" |