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 4780 by niro, Sun Dec 27 23:16:16 2009 UTC
# Line 211  mconfigure() Line 211  mconfigure()
211   done   done
212  }  }
213    
214    
215    if [[ ! -z $(typeset -f cmake_configure) ]]
216    then
217     # rename the old one
218     old_cmake_configure=old$(typeset -f cmake_configure)
219     eval ${old_cmake_configure}
220    fi
221    cmake_configure()
222    {
223     local abi
224     local abis_to_run="${MULTILIB_ABIS}"
225    
226     # respect MULTILIB_ONLY_ABI variable
227     [[ ! -z ${MULTILIB_ONLY_ABI} ]] && abis_to_run="${MULTILIB_ONLY_ABI}"
228    
229     local saved_SRCDIR="${SRCDIR}"
230     for abi in ${abis_to_run}
231     do
232     SRCDIR="${saved_SRCDIR}-${abi}"
233     cd ${SRCDIR}
234     abi-${abi} oldcmake_configure $@ || die
235     done
236    }
237    
238  if [[ ! -z $(typeset -f munpack) ]]  if [[ ! -z $(typeset -f munpack) ]]
239  then  then
240   # rename the old one   # rename the old one

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