From 59765f508225998d8a73b1da8380ff06b4a6b79c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Mon, 14 Nov 2016 23:02:47 +0100 Subject: 1) Replaces the SysV-style build script link mechanism w/ build {,meta-}targets, 2) splits build.{subr,sh}} into subr/{build,pkg,rtl}.subr and build.sh, 3) replaces {997.strip,998.midipix_sh,999.tarballs}.build with subr/{strip,tarball}.subr, 4) moves patches to patches/, vars files to vars/, and everything else to etc/, 5) renames `Create `Midipix mintty shell' shortcut.vbs' to midipix_shortcut.vbs, 6) fixes a Weechat configure issue, and 7) updates etc/{build.usage,README}. --- vars/python3.vars | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 vars/python3.vars (limited to 'vars/python3.vars') diff --git a/vars/python3.vars b/vars/python3.vars new file mode 100644 index 00000000..9cdc016f --- /dev/null +++ b/vars/python3.vars @@ -0,0 +1,17 @@ +# +# . ./build.vars and set -o errexit -o noglob are assumed. +# + +pkg_python3_configure_pre() { + (cd ../${PKG_SUBDIR} && autoconf); + (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 .; +}; + +# vim:filetype=sh -- cgit v1.2.3