summaryrefslogtreecommitdiffhomepage
path: root/370.python3.vars
diff options
context:
space:
mode:
Diffstat (limited to '370.python3.vars')
-rw-r--r--370.python3.vars21
1 files changed, 21 insertions, 0 deletions
diff --git a/370.python3.vars b/370.python3.vars
new file mode 100644
index 00000000..0de381b0
--- /dev/null
+++ b/370.python3.vars
@@ -0,0 +1,21 @@
+#
+# . ./build.vars and set -o errexit are assumed.
+#
+
+pkg_python3_extract_post() {
+ cd ${PKG_SUBDIR};
+ autoconf;
+ ./configure;
+ make _FIP=Programs/host_freeze_importlib Programs/host_freeze_importlib \
+ BUILDPYTHON=hostpython hostpython \
+ PGEN=Parser/hostpgen Parser/hostpgen;
+ make distclean;
+ cd ..;
+};
+
+pkg_python3_configure_pre() {
+ sed -i.orig '/^# autoconf/a\
+ac_cv_buggy_getaddrinfo=no' config.cache;
+};
+
+# vim:filetype=sh