diff --git a/srcpkgs/python3.4/template b/srcpkgs/python3.4/template index 5c5c3fa3c75..7a957b559d3 100644 --- a/srcpkgs/python3.4/template +++ b/srcpkgs/python3.4/template @@ -1,7 +1,7 @@ # Template file for 'python3.4' pkgname=python3.4 version=3.4.3 -revision=6 +revision=7 wrksrc="Python-${version}" short_desc="Interpreted, interactive, object-oriented programming language (${version%.*} series)" maintainer="Juan RP " @@ -67,6 +67,10 @@ do_install() { ${DESTDIR}/usr/lib/python${version%.*}/_sysconfigdata.py \ ${DESTDIR}/usr/lib/python${version%.*}/config-${version%.*}m/Makefile \ ${DESTDIR}/usr/bin/python${version%.*}*-config + # 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-${version%.*}m/Makefile if [ "$CROSS_BUILD" ]; then # Remove references to cross toolchain. sed -i "s/$XBPS_CROSS_TRIPLET-//g" \