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 |