194 |
then |
then |
195 |
# rename the old one |
# rename the old one |
196 |
old_mconfigure=old$(typeset -f mconfigure) |
old_mconfigure=old$(typeset -f mconfigure) |
197 |
eval ${old_mconfigure} |
eval "${old_mconfigure}" |
198 |
fi |
fi |
199 |
mconfigure() |
mconfigure() |
200 |
{ |
{ |
211 |
done |
done |
212 |
} |
} |
213 |
|
|
214 |
|
if [[ ! -z $(typeset -f cmake_configure) ]] |
215 |
|
then |
216 |
|
# rename the old one |
217 |
|
old_cmake_configure=old$(typeset -f cmake_configure) |
218 |
|
eval "${old_cmake_configure}" |
219 |
|
fi |
220 |
|
cmake_configure() |
221 |
|
{ |
222 |
|
local abi |
223 |
|
local abis_to_run="${MULTILIB_ABIS}" |
224 |
|
|
225 |
|
# respect MULTILIB_ONLY_ABI variable |
226 |
|
[[ ! -z ${MULTILIB_ONLY_ABI} ]] && abis_to_run="${MULTILIB_ONLY_ABI}" |
227 |
|
|
228 |
|
local saved_SRCDIR="${SRCDIR}" |
229 |
|
for abi in ${abis_to_run} |
230 |
|
do |
231 |
|
SRCDIR="${saved_SRCDIR}-${abi}" |
232 |
|
cd ${SRCDIR} |
233 |
|
abi-${abi} oldcmake_configure $@ || die |
234 |
|
done |
235 |
|
} |
236 |
|
|
237 |
if [[ ! -z $(typeset -f munpack) ]] |
if [[ ! -z $(typeset -f munpack) ]] |
238 |
then |
then |
239 |
# rename the old one |
# rename the old one |