python: remove references to the install(1) wrapper.
This commit is contained in:
parent
ca4c82f20b
commit
c92b18c4dc
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
pkgname=python
|
pkgname=python
|
||||||
version=2.7.11
|
version=2.7.11
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc="Python-${version}"
|
wrksrc="Python-${version}"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="
|
makedepends="
|
||||||
|
@ -75,6 +75,10 @@ post_install() {
|
||||||
sed -e 's|\(-specs=.*hardened-ld\)||g' -e 's|\(-specs=.*hardened-cc1\)||g' -i \
|
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%.*}/_sysconfigdata.py \
|
||||||
${DESTDIR}/usr/lib/python${version%.*}/config/Makefile
|
${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
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Remove references to cross toolchain.
|
# Remove references to cross toolchain.
|
||||||
sed -i "s/$XBPS_CROSS_TRIPLET-//g" \
|
sed -i "s/$XBPS_CROSS_TRIPLET-//g" \
|
||||||
|
|
Loading…
Reference in New Issue