summaryrefslogtreecommitdiffhomepage
path: root/373.python3.vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-07-20 10:18:00 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-07-20 10:25:52 +0000
commit2a57994b1ee17cc1fd4fe0cf36da58cb594e9969 (patch)
tree4b6d3bd1c93901be1ab7e8b6ceb4e2803c75a093 /373.python3.vars
parent31816201648d67ea944c8cbccb002bb26b91bf0a (diff)
downloadmidipix_build-2a57994b1ee17cc1fd4fe0cf36da58cb594e9969.tar.bz2
midipix_build-2a57994b1ee17cc1fd4fe0cf36da58cb594e9969.tar.xz
- Drops {bash,coreutils}_host in favour of dynamically-linked ${PREFIX_MINIPIX} binaries and libraries.
- Manually install ncursesw {bin,lib,share}/ files to ${PREFIX_MINIPIX}.
Diffstat (limited to '373.python3.vars')
-rw-r--r--373.python3.vars17
1 files changed, 17 insertions, 0 deletions
diff --git a/373.python3.vars b/373.python3.vars
new file mode 100644
index 00000000..9cdc016f
--- /dev/null
+++ b/373.python3.vars
@@ -0,0 +1,17 @@
+#
+# . ./build.vars and set -o errexit -o noglob are assumed.
+#
+
+pkg_python3_configure_pre() {
+ (cd ../${PKG_SUBDIR} && autoconf);
+ (unset AR BLDSHARED CC CFLAGS CPPFLAGS LDFLAGS RANLIB;
+ mv -- config.cache ../${PKG_SUBDIR}/config.cache;
+ ../${PKG_SUBDIR}/configure;
+ make _FIP=Programs/host_freeze_importlib Programs/host_freeze_importlib \
+ BUILDPYTHON=hostpython hostpython \
+ PGEN=Parser/hostpgen Parser/hostpgen;
+ make distclean);
+ mv -- ../${PKG_SUBDIR}/config.cache .;
+};
+
+# vim:filetype=sh