Magellan Linux

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

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

revision 6144 by niro, Thu Aug 19 17:26:57 2010 UTC revision 6145 by niro, Thu Aug 19 17:29:19 2010 UTC
# Line 85  src_install() Line 85  src_install()
85    
86   mmake DESTDIR=${BINDIR} altinstall  || die   mmake DESTDIR=${BINDIR} altinstall  || die
87    
88   # link python${PYVER}-config to python-config   # link python${PVER%.*}-config to python-config
89   mlink python${PYVER}-config /usr/bin/python-config || die   mlink python${PVER%.*}-config /usr/bin/python-config || die
90    
91   minstalldir /usr/$(mlibdir)/python${PYVER}/config || die   minstalldir /usr/$(mlibdir)/python${PVER%.*}/config || die
92   minstallfile ${SRCDIR}/Makefile.pre.in /usr/$(mlibdir)/python${PYVER}/config || die   minstallfile ${SRCDIR}/Makefile.pre.in /usr/$(mlibdir)/python${PVER%.*}/config || die
93    
94   # remove hardcoded CFLAGS from default Makefile   # remove hardcoded CFLAGS from default Makefile
95   sed -i 's:^OPT=.*:OPT=-DNDEBUG:' ${BINDIR}/usr/$(mlibdir)/python${PYVER}/config/Makefile || die   sed -i 's:^OPT=.*:OPT=-DNDEBUG:' ${BINDIR}/usr/$(mlibdir)/python${PVER%.*}/config/Makefile || die
96    
97   # link python2.7 binary with python   # link python2.7 binary with python
98   mlink python${PVER%.*} /usr/bin/python || die   mlink python${PVER%.*} /usr/bin/python || die

Legend:
Removed from v.6144  
changed lines
  Added in v.6145