summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-06-05 20:00:59 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-06-05 20:00:59 +0000
commit65bdd16e952f511417a25e28ad7a46632e7da82e (patch)
treee64b18a3fa10469e4efcdd31dd43391f3948d801 /vars
parenteeff3d4fa45f82efa94375b2e752b50a5eba6514 (diff)
downloadmidipix_build-65bdd16e952f511417a25e28ad7a46632e7da82e.tar.bz2
midipix_build-65bdd16e952f511417a25e28ad7a46632e7da82e.tar.xz
vars/python3_host.vars:pkg_install_make_post(): don't overwrite ${PKG_DESTDIR}/bin/python.
vars/python3_host.vars:pkg_install_make_post(): provide ${PKG_DESTDIR}/bin/python3 wrapper (fixes wget build.)
Diffstat (limited to 'vars')
-rw-r--r--vars/python3_host.vars10
1 files changed, 5 insertions, 5 deletions
diff --git a/vars/python3_host.vars b/vars/python3_host.vars
index 682c0d26..8f4817c2 100644
--- a/vars/python3_host.vars
+++ b/vars/python3_host.vars
@@ -3,15 +3,15 @@
#
pkg_python3_host_install_make_post() {
- if ex_rtl_fileop test "${PKG_DESTDIR}/bin/python"; then
- ex_rtl_fileop rm "${PKG_DESTDIR}/bin/python";
+ if ex_rtl_fileop test "${PKG_DESTDIR}/bin/python3"; then
+ ex_rtl_fileop rm "${PKG_DESTDIR}/bin/python3";
fi;
- cat > "${PKG_DESTDIR}/bin/python" <<EOF
+ cat > "${PKG_DESTDIR}/bin/python3" <<EOF
#!/bin/sh
env LD_LIBRARY_PATH="${PREFIX}/lib" \
- "${PREFIX}/bin/python3" "\${@}";
+ "${PREFIX}/bin/python3.5" "\${@}";
EOF
- chmod +x "${PKG_DESTDIR}/bin/python";
+ chmod +x "${PKG_DESTDIR}/bin/python3";
};
# vim:filetype=sh