summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-10 13:49:08 +0000
committerjoerg <joerg>2007-08-10 13:49:08 +0000
commit448b622212c994d560837e1300801aa0d73127f7 (patch)
tree9a2a1629caf363760a5d0843f785ed629c982322 /lang
parent94b702ab34099f836dee67df3528fe83679b1092 (diff)
downloadpkgsrc-448b622212c994d560837e1300801aa0d73127f7.tar.gz
Explicitly specify --root=/ for the non-DESTDIR case so that setuptools
shuts up. Fixes PR 36758.
Diffstat (limited to 'lang')
-rw-r--r--lang/python/egg.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/python/egg.mk b/lang/python/egg.mk
index 33b165771a6..ab03800b2c3 100644
--- a/lang/python/egg.mk
+++ b/lang/python/egg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: egg.mk,v 1.2 2007/08/09 13:25:31 joerg Exp $
+# $NetBSD: egg.mk,v 1.3 2007/08/10 13:49:08 joerg Exp $
#
# Common logic to handle Python Eggs
#
@@ -13,6 +13,9 @@ PLIST_SUBST+= EGG_NAME=${EGG_NAME}-py${PYVERSSUFFIX}
PLIST_SUBST+= EGG_INFODIR=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
_PYSETUPTOOLSINSTALLARGS= --single-version-externally-managed
+.if ${_USE_DESTDIR} == "no"
+_PYSETUPTOOLSINSTALLARGS+= --root=/
+.endif
DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c6:../../devel/py-setuptools