summaryrefslogtreecommitdiffhomepage
path: root/345.python3.vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-06-26 10:26:03 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-06-26 18:21:31 +0000
commita9b6f174b5eb33f49956a884b42a6bef6296ac4c (patch)
treedeb562efdd5abeb41eff7c57b7ddbc639201cb17 /345.python3.vars
parent7d439a5f17f6447acd5903b85bba8e1a59e02a63 (diff)
downloadmidipix_build-a9b6f174b5eb33f49956a884b42a6bef6296ac4c.tar.bz2
midipix_build-a9b6f174b5eb33f49956a884b42a6bef6296ac4c.tar.xz
Adds mc v4.8.17. Change default ${PREFIX} to ${HOME}/midipix/${ARCH}.
Diffstat (limited to '345.python3.vars')
-rw-r--r--345.python3.vars19
1 files changed, 19 insertions, 0 deletions
diff --git a/345.python3.vars b/345.python3.vars
new file mode 100644
index 00000000..c987c798
--- /dev/null
+++ b/345.python3.vars
@@ -0,0 +1,19 @@
+#
+# . ./build.vars and set -o errexit are assumed.
+#
+
+pkg_python3_configure_pre() {
+ (cd ../${PKG_SUBDIR} && autoconf);
+ (unset BLDSHARED CC CFLAGS CPPFLAGS LDFLAGS;
+ 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 .;
+ sed -i.orig '/^# autoconf/a\
+ac_cv_buggy_getaddrinfo=no' config.cache;
+};
+
+# vim:filetype=sh