diff --git a/srcpkgs/python3.4/template b/srcpkgs/python3.4/template
index e3715348963..6635e3cd5da 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.1
-revision=7
+revision=8
 wrksrc="Python-${version}"
 short_desc="Interpreted, interactive, object-oriented programming language (${version%.*} series)"
 maintainer="Juan RP <xtraeme@gmail.com>"
@@ -55,7 +55,7 @@ do_build() {
 do_install() {
 	export PATH="$PATH:$wrksrc/hostpython"
 	make DESTDIR=${DESTDIR} install maninstall
-	install -Dm644 LICENSE ${DESTDIR}/usr/share/licenses/${pkgname}/LICENSE
+	vlicense LICENSE
 
 	rm -f ${DESTDIR}/usr/bin/2to3{,-3.4}
 
@@ -65,6 +65,13 @@ do_install() {
 	# Remove test module and tests that fail to be byte-compiled.
 	rm -rf ${DESTDIR}/usr/lib/python${version%.*}/test
 	rm -rf ${DESTDIR}/usr/lib/python${version%.*}/lib2to3/tests
+
+	if [ "$CROSS_BUILD" ]; then
+		# Remove references to cross toolchain.
+		sed -i "s/$XBPS_CROSS_TRIPLET-//g" \
+			${DESTDIR}/usr/lib/python${version%.*}/_sysconfigdata.py \
+			${DESTDIR}/usr/lib/python${version%.*}/config-3.4m/Makefile
+	fi
 }
 
 python3.4-devel_package() {