python: remove references to the install(1) wrapper.

This commit is contained in:
Alessio Sergi 2015-12-23 12:12:23 +01:00
parent ca4c82f20b
commit c92b18c4dc

View file

@ -4,7 +4,7 @@
#
pkgname=python
version=2.7.11
revision=3
revision=4
wrksrc="Python-${version}"
hostmakedepends="pkg-config"
makedepends="
@ -75,6 +75,10 @@ post_install() {
sed -e 's|\(-specs=.*hardened-ld\)||g' -e 's|\(-specs=.*hardened-cc1\)||g' -i \
${DESTDIR}/usr/lib/python${version%.*}/_sysconfigdata.py \
${DESTDIR}/usr/lib/python${version%.*}/config/Makefile
# Remove references to the install(1) wrapper.
sed -e "s,${XBPS_WRAPPERDIR},/usr/bin,g" -i \
${DESTDIR}/usr/lib/python${version%.*}/_sysconfigdata.py \
${DESTDIR}/usr/lib/python${version%.*}/config/Makefile
if [ "$CROSS_BUILD" ]; then
# Remove references to cross toolchain.
sed -i "s/$XBPS_CROSS_TRIPLET-//g" \