diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-09-23 05:56:35 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-09-23 05:56:35 +0000 |
commit | cf099c77fa91d51ada2a4384e8765d9fd06acab3 (patch) | |
tree | 5e4565f93a0d1185f039cd8526ef6a8bf342699e /Mk/bsd.python.mk | |
parent | 785d744f1fd001d74df979302d1f28a7855b50c4 (diff) | |
download | ports-cf099c77fa91d51ada2a4384e8765d9fd06acab3.tar.gz ports-cf099c77fa91d51ada2a4384e8765d9fd06acab3.zip |
Notes
Diffstat (limited to 'Mk/bsd.python.mk')
-rw-r--r-- | Mk/bsd.python.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk index e7552e8f3aba..5311f616bf21 100644 --- a/Mk/bsd.python.mk +++ b/Mk/bsd.python.mk @@ -534,6 +534,9 @@ PYSETUP?= setup.py PYDISTUTILS_CONFIGUREARGS?= PYDISTUTILS_BUILDARGS?= PYDISTUTILS_INSTALLARGS?= -c -O1 --prefix=${PREFIX} +.if !defined(NO_STAGE) +PYDISTUTILS_INSTALLARGS+= --root=${STAGEDIR} +.endif PYDISTUTILS_PKGNAME?= ${PORTNAME} PYDISTUTILS_PKGVERSION?=${PORTVERSION} PYDISTUTILS_EGGINFO?= ${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-py${PYTHON_VER}.egg-info |