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 6333 by niro, Fri Aug 20 16:39:16 2010 UTC revision 6334 by niro, Fri Aug 20 17:01:42 2010 UTC
# Line 93  src_install() Line 93  src_install()
93   if [[ ${ARCH} = x86_64 ]]   if [[ ${ARCH} = x86_64 ]]
94   then   then
95   # move config header   # move config header
96   all-abis mv -v ${BINDIR}/usr/include/python${PVER%.*}/pyconfig{,'${abi/m/}'}.h   all-abis mv -v ${BINDIR}/usr/include/python${PVER%.*}/pyconfig{,'${abi}'}.h
97    
98   # install a stub header   # install a stub header
99   cat > ${BINDIR}/usr/include/python${PVER%.*}/pyconfig.h << "EOF"   cat > ${BINDIR}/usr/include/python${PVER%.*}/pyconfig.h << "EOF"
# Line 106  src_install() Line 106  src_install()
106      defined(__arch64__) || \      defined(__arch64__) || \
107      defined(__powerpc64__) || \      defined(__powerpc64__) || \
108      defined (__s390x__)      defined (__s390x__)
109  # include "pyconfig-64.h"  # include "pyconfig-m64.h"
110  #else  #else
111  # include "pyconfig-32.h"  # include "pyconfig-m32.h"
112  #endif  #endif
113    
114  #endif /* __STUB__PYCONFIG_H__ */  #endif /* __STUB__PYCONFIG_H__ */
115  EOF  EOF
116   # install the multiarch-wrapper   # install the multiarch-wrapper
117   all-abis mv -v ${BINDIR}/usr/bin/python${PYVER%.*}{,-'${abi/m/}'}   all-abis mv -v ${BINDIR}/usr/bin/python${PYVER%.*}{,-'${abi}'}
118   mlink multiarch-wrapper /usr/bin/python${PYVER%.*}   mlink multiarch-wrapper /usr/bin/python${PYVER%.*}
119   fi   fi
120    

Legend:
Removed from v.6333  
changed lines
  Added in v.6334