summaryrefslogtreecommitdiffhomepage
path: root/370.python3.vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-05-25 21:08:15 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-05-25 21:16:29 +0000
commitc288dfb0f33ef4a713680190b5b2e2ca69cfb171 (patch)
treedfe0fd8db081bb89c75a3de2d437cf07a8062f48 /370.python3.vars
parentffcc9c6a9dfeb481fb342accb71579ae5478ea74 (diff)
downloadmidipix_build-c288dfb0f33ef4a713680190b5b2e2ca69cfb171.tar.bz2
midipix_build-c288dfb0f33ef4a713680190b5b2e2ca69cfb171.tar.xz
- Followup to <ffcc9c6a9dfeb481fb342accb71579ae5478ea74>.
- Fix pseudo-local variable leaks in build.subr. - Log $PKG_* environment variables prior to building w/ pkg.build. - Always build musl w/ -g2 -O0. - Remove obsolete export CFLAGS=${CFLAGS_LVL${BUILD_LVL}} command from build.sh. - Handle bin/libpsxscl.{last,log} in midipix.sh. - Add autoconf to $CHECK_PREREQ_CMDS. - Include `Create `Midipix mintty shell' shortcut.vbs' in the tarball. - Changes the $PKG_ENV_VARS_EXTRA variable name-value pair separator from `,' to `:'. - Link bash and coreutils statically. - Changes the level 2 package --prefix to `', installing to DESTDIR=$PREFIX_LVL2.
Diffstat (limited to '370.python3.vars')
-rw-r--r--370.python3.vars16
1 files changed, 7 insertions, 9 deletions
diff --git a/370.python3.vars b/370.python3.vars
index 0de381b0..c987c798 100644
--- a/370.python3.vars
+++ b/370.python3.vars
@@ -2,18 +2,16 @@
# . ./build.vars and set -o errexit are assumed.
#
-pkg_python3_extract_post() {
- cd ${PKG_SUBDIR};
- autoconf;
- ./configure;
+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;
- cd ..;
-};
-
-pkg_python3_configure_pre() {
+ make distclean);
+ mv ../${PKG_SUBDIR}/config.cache .;
sed -i.orig '/^# autoconf/a\
ac_cv_buggy_getaddrinfo=no' config.cache;
};