diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-10 13:49:08 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-10 13:49:08 +0000 |
commit | c5463a85d7d21992ffd913dc9941912f47a13e94 (patch) | |
tree | 9a2a1629caf363760a5d0843f785ed629c982322 /lang | |
parent | c688d09130c9509cdc1b62a1c7b336ab6e27f1ee (diff) | |
download | pkgsrc-c5463a85d7d21992ffd913dc9941912f47a13e94.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.mk | 5 |
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 |