summaryrefslogtreecommitdiffhomepage
path: root/347.python3.vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-07-04 15:45:40 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-07-04 15:45:40 +0000
commitaf603fdf3981d70ef9c473ab884c590887f8bf96 (patch)
tree4e2eeca37e71be27fdc325d769293b0e0aa0b81e /347.python3.vars
parentfd016cddcab2c89579726ec42f1018a89e257b67 (diff)
downloadmidipix_build-af603fdf3981d70ef9c473ab884c590887f8bf96.tar.bz2
midipix_build-af603fdf3981d70ef9c473ab884c590887f8bf96.tar.xz
Adds cron v3.0pl1-128 (Debian.)
Diffstat (limited to '347.python3.vars')
-rw-r--r--347.python3.vars19
1 files changed, 19 insertions, 0 deletions
diff --git a/347.python3.vars b/347.python3.vars
new file mode 100644
index 00000000..c987c798
--- /dev/null
+++ b/347.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