pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python Explicitly specify --root=/ for the non-DE...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3f4466a9680a
branches: trunk
changeset: 532034:3f4466a9680a
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Aug 10 13:49:08 2007 +0000
description:
Explicitly specify --root=/ for the non-DESTDIR case so that setuptools
shuts up. Fixes PR 36758.
diffstat:
lang/python/egg.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 916f410e9e33 -r 3f4466a9680a lang/python/egg.mk
--- a/lang/python/egg.mk Fri Aug 10 13:09:52 2007 +0000
+++ b/lang/python/egg.mk Fri Aug 10 13:49:08 2007 +0000
@@ -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_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
Home |
Main Index |
Thread Index |
Old Index