Magellan Linux

Diff of /branches/magellan-next/core/python/python-2.7.0-r4.smage2

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

revision 6342 by niro, Fri Aug 20 20:07:14 2010 UTC revision 6343 by niro, Fri Aug 20 20:12:45 2010 UTC
# Line 99  src_install() Line 99  src_install()
99   if [[ ${ARCH} = x86_64 ]]   if [[ ${ARCH} = x86_64 ]]
100   then   then
101   # move config header   # move config header
102   mv -v ${BINDIR}/usr/include/python${PVER%.*}/pyconfig{,${abi}}.h   mv -v ${BINDIR}/usr/include/python${PVER%.*}/pyconfig.h \
103     ${BINDIR}/usr/include/python${PVER%.*}/pyconfig-${abi}.h || die
104    
105   # install a stub header   # install a stub header
106   cat > ${BINDIR}/usr/include/python${PVER%.*}/pyconfig.h << "EOF"   cat > ${BINDIR}/usr/include/python${PVER%.*}/pyconfig.h << "EOF"
# Line 120  src_install() Line 121  src_install()
121  #endif /* __STUB__PYCONFIG_H__ */  #endif /* __STUB__PYCONFIG_H__ */
122  EOF  EOF
123   # install the multiarch-wrapper   # install the multiarch-wrapper
124   mv -v ${BINDIR}/usr/bin/python${PYVER%.*}{,-${abi}}   mv -v ${BINDIR}/usr/bin/python${PYVER%.*} \
125   mlink multiarch-wrapper /usr/bin/python${PYVER%.*}   ${BINDIR}/usr/bin/python${PYVER%.*}-${abi} || die
126     mlink multiarch-wrapper /usr/bin/python${PYVER%.*} || die
127   fi   fi
128   done   done
129    

Legend:
Removed from v.6342  
changed lines
  Added in v.6343