Magellan Linux

Diff of /branches/R11-unstable/include/multilib.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3671 by niro, Thu Oct 29 10:40:29 2009 UTC revision 4783 by niro, Sun Dec 27 23:35:37 2009 UTC
# Line 194  if [[ ! -z $(typeset -f mconfigure) ]] Line 194  if [[ ! -z $(typeset -f mconfigure) ]]
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  {  {
# Line 211  mconfigure() Line 211  mconfigure()
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

Legend:
Removed from v.3671  
changed lines
  Added in v.4783