From 90ddae020b5e438e60c521e8cf4a363f306cbac6 Mon Sep 17 00:00:00 2001 From: Michael Weirauch Date: Mon, 7 Jun 2010 16:50:10 +0000 Subject: [PATCH] * fix distro (inspired by mercurial .bep) thx for the hints everybody --- dev-util/scons/scons-1.0.1-python2.5.bep | 6 +++++- dev-util/scons/scons-1.0.1.bep | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-util/scons/scons-1.0.1-python2.5.bep b/dev-util/scons/scons-1.0.1-python2.5.bep index 0847da24c..614e99366 100644 --- a/dev-util/scons/scons-1.0.1-python2.5.bep +++ b/dev-util/scons/scons-1.0.1-python2.5.bep @@ -14,5 +14,9 @@ BUILD { INSTALL { cd scons-1.0.1 - python2.5 setup.py install --symlink-scons --standard-lib + if [ -n ${DESTDIR} ];then + python2.5 setup.py install --root="${DESTDIR}" --prefix="/boot/common" --symlink-scons --standard-lib + else + python2.5 setup.py install --prefix="/boot/common" --symlink-scons --standard-lib + fi } diff --git a/dev-util/scons/scons-1.0.1.bep b/dev-util/scons/scons-1.0.1.bep index 24359f35e..bd5590e6b 100644 --- a/dev-util/scons/scons-1.0.1.bep +++ b/dev-util/scons/scons-1.0.1.bep @@ -14,5 +14,9 @@ BUILD { INSTALL { cd scons-1.0.1 - python setup.py install --symlink-scons --standard-lib + if [ -n ${DESTDIR} ];then + python setup.py install --root="${DESTDIR}" --prefix="/boot/common" --symlink-scons --standard-lib + else + python setup.py install --prefix="/boot/common" --symlink-scons --standard-lib + fi }