summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-04-23 13:02:06 +0000
committerobache <obache@pkgsrc.org>2012-04-23 13:02:06 +0000
commit0d914a4e46e957e1ac0c11aa2293728fc9e187d4 (patch)
treee46f0425004ce8327dd086ca26286640f20ad025
parentfb75d0c52fd6fc4257a34e4998af9f40330aa090 (diff)
downloadpkgsrc-0d914a4e46e957e1ac0c11aa2293728fc9e187d4.tar.gz
revive ${EGG_FILE} handling in print-PLIST, accidently(?) removed at
killing ${PLIST.eggfile}
-rw-r--r--lang/python/distutils.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/python/distutils.mk b/lang/python/distutils.mk
index d82490c2846..eb09f18aef8 100644
--- a/lang/python/distutils.mk
+++ b/lang/python/distutils.mk
@@ -1,4 +1,4 @@
-# $NetBSD: distutils.mk,v 1.5 2012/04/08 20:23:21 wiz Exp $
+# $NetBSD: distutils.mk,v 1.6 2012/04/23 13:02:06 obache Exp $
#
# Common logic for python distributions that use distutils.
#
@@ -26,5 +26,7 @@ PY_NO_EGG?= no
# Egg files have the version encoded, so generalize in PLIST.
PLIST_SUBST+= EGG_FILE=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
+PRINT_PLIST_AWK+= { gsub("${EGG_NAME}-py${PYVERSSUFFIX}.egg-info", \
+ "$${EGG_FILE}") }
.include "../../lang/python/extension.mk"