151 |
MY_DEPEND="${DEPEND}" |
MY_DEPEND="${DEPEND}" |
152 |
|
|
153 |
# for srcinstall & srcdepend only; SDEPEND also needed |
# for srcinstall & srcdepend only; SDEPEND also needed |
154 |
if [[ ${METHOD} = srcinstall ]] || \ |
if [[ ${METHOD} = srcinstall ]] || |
155 |
[[ ${METHOD} = srcpretend ]] || \ |
[[ ${METHOD} = srcpretend ]] || |
156 |
[[ ${METHOD} = srcupgrade ]] || \ |
[[ ${METHOD} = srcupgrade ]] || |
157 |
[[ ${METHOD} = srcuppretend ]] |
[[ ${METHOD} = srcuppretend ]] || |
158 |
|
[[ ${METHOD} = install-build-prerequisites ]] || |
159 |
|
[[ ${METHOD} = pretend-build-prerequisites ]] |
160 |
then |
then |
161 |
# only if SDEPEND is not zero |
# only if SDEPEND is not zero |
162 |
if [ -n "${SDEPEND}" ] |
if [ -n "${SDEPEND}" ] |
172 |
fi |
fi |
173 |
fi |
fi |
174 |
|
|
|
if [[ ${METHOD} = install-build-prerequisites ]] || \ |
|
|
[[ ${METHOD} = pretend-build-prerequisites ]] |
|
|
then |
|
|
# only one time |
|
|
if [[ ${LOOP_COUNTER} -lt 1 ]] |
|
|
then |
|
|
# only if SDEPEND is not zero |
|
|
if [ -n "${SDEPEND}" ] |
|
|
then |
|
|
# crlf is substantly needed !! |
|
|
if [ -n "${MY_DEPEND}" ] |
|
|
then |
|
|
MY_DEPEND="${MY_DEPEND} |
|
|
${SDEPEND}" |
|
|
else |
|
|
MY_DEPEND="${SDEPEND}" |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
LOOP_COUNTER=${LOOP_COUNTER}+1 |
|
|
fi |
|
|
|
|
175 |
unset DEPEND |
unset DEPEND |
176 |
unset SDEPEND |
unset SDEPEND |
177 |
|
|