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 }