python3: remove more $XBPS_CROSS_BASE cruft

Despite this change remove a -I$XBPS_CROSS_BASE/usr/include,
no behaviour was changed since there's another `-I/usr/include` before
that.

No need to bump rev.
This commit is contained in:
Đoàn Trần Công Danh 2020-05-22 12:52:39 +07:00
parent c9f9f45b22
commit 83cff1801c

View file

@ -79,6 +79,8 @@ do_install() {
sed -i "s/$XBPS_CROSS_TRIPLET-//g" \ sed -i "s/$XBPS_CROSS_TRIPLET-//g" \
${DESTDIR}/usr/lib/python${version%.*}/_sysconfigdata_*_*.py \ ${DESTDIR}/usr/lib/python${version%.*}/_sysconfigdata_*_*.py \
${DESTDIR}/usr/lib/python${version%.*}/config-${version%.*}*/Makefile ${DESTDIR}/usr/lib/python${version%.*}/config-${version%.*}*/Makefile
sed -i -e "s,$XBPS_CROSS_BASE,,g" \
${DESTDIR}/usr/bin/python${version%.*}-config
fi fi
} }