summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-03-13 13:05:20 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-03-13 13:05:20 +0000
commit3c21bc0ef035b510bc3691c79cfd939fe4755068 (patch)
treee7121fa22d7c3bf94a734a7f22d6e8dd63665c26 /vars
parentd479b4f110453aeb26af956e84ece2614caf2dfb (diff)
downloadmidipix_build-3c21bc0ef035b510bc3691c79cfd939fe4755068.tar.bz2
midipix_build-3c21bc0ef035b510bc3691c79cfd939fe4755068.tar.xz
patches/ncursesw_host-6.0.local.patch: correctly install share/{tabset,terminfo}/.
vars/python[23]_host.vars:pkg_python[23]_host_fetch_download(): provisional sbpython[23]/project/config/cfgdefs.sh patch.
Diffstat (limited to 'vars')
-rw-r--r--vars/python2_host.vars4
-rw-r--r--vars/python3_host.vars4
2 files changed, 8 insertions, 0 deletions
diff --git a/vars/python2_host.vars b/vars/python2_host.vars
index c6343f20..d94910dd 100644
--- a/vars/python2_host.vars
+++ b/vars/python2_host.vars
@@ -5,6 +5,10 @@
pkg_python2_host_fetch_download() {
ex_rtl_fileop rm "${PKG_BASE_DIR}/sbpython2";
ex_rtl_fetch_urls_git "${PKG_BASE_DIR}/build" "sbpython2=${DEFAULT_GITROOT}/python/sbpython2@main";
+ ex_rtl_fileop cp ../sbpython2/project/config/cfgdefs.sh ../sbpython2/project/config/cfgdefs.sh.orig;
+ sed -i"" -e"s/-ltinfo/&w/" -e"s/mb_ncurses_libs='\([^']\+\)'/mb_ncurses_libs='\1 -ltinfow'/" ../sbpython2/project/config/cfgdefs.sh;
+ sed -i"" -e'108a\
+cfgtest_ldflags_append "-L$mb_prefix/lib"' ../sbpython2/project/config/cfgdefs.sh;
ex_pkg_state_set "${PKG_NAME}" fetch_download -fetch_extract;
};
diff --git a/vars/python3_host.vars b/vars/python3_host.vars
index f2c72716..b2456b42 100644
--- a/vars/python3_host.vars
+++ b/vars/python3_host.vars
@@ -5,6 +5,10 @@
pkg_python3_host_fetch_download() {
ex_rtl_fileop rm "${PKG_BASE_DIR}/sbpython3";
ex_rtl_fetch_urls_git "${PKG_BASE_DIR}/build" "sbpython3=${DEFAULT_GITROOT}/python/sbpython3@main";
+ ex_rtl_fileop cp ../sbpython3/project/config/cfgdefs.sh ../sbpython3/project/config/cfgdefs.sh.orig;
+ sed -i"" -e"s/-ltinfo/&w/" -e"s/mb_ncurses_libs='\([^']\+\)'/mb_ncurses_libs='\1 -ltinfow'/" ../sbpython3/project/config/cfgdefs.sh;
+ sed -i"" -e'108a\
+cfgtest_ldflags_append "-L$mb_prefix/lib"' ../sbpython3/project/config/cfgdefs.sh;
ex_pkg_state_set "${PKG_NAME}" fetch_download -fetch_extract;
};