summaryrefslogtreecommitdiffhomepage
path: root/348.python3.vars
diff options
context:
space:
mode:
Diffstat (limited to '348.python3.vars')
-rw-r--r--348.python3.vars10
1 files changed, 4 insertions, 6 deletions
diff --git a/348.python3.vars b/348.python3.vars
index c987c798..9cdc016f 100644
--- a/348.python3.vars
+++ b/348.python3.vars
@@ -1,19 +1,17 @@
#
-# . ./build.vars and set -o errexit are assumed.
+# . ./build.vars and set -o errexit -o noglob are assumed.
#
pkg_python3_configure_pre() {
(cd ../${PKG_SUBDIR} && autoconf);
- (unset BLDSHARED CC CFLAGS CPPFLAGS LDFLAGS;
- mv config.cache ../${PKG_SUBDIR}/config.cache;
+ (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 .;
- sed -i.orig '/^# autoconf/a\
-ac_cv_buggy_getaddrinfo=no' config.cache;
+ mv -- ../${PKG_SUBDIR}/config.cache .;
};
# vim:filetype=sh