diff options
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 |