midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame 370.python3.vars

Lucio Andrés Illanes Albornoz (arab, vxp) ffcc9c
#
Lucio Andrés Illanes Albornoz (arab, vxp) ffcc9c
# . ./build.vars and set -o errexit are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) ffcc9c
#
Lucio Andrés Illanes Albornoz (arab, vxp) ffcc9c
Lucio Andrés Illanes Albornoz (arab, vxp) c288df
pkg_python3_configure_pre() {
Lucio Andrés Illanes Albornoz (arab, vxp) c288df
	(cd ../${PKG_SUBDIR} && autoconf);
Lucio Andrés Illanes Albornoz (arab, vxp) c288df
	(unset BLDSHARED CC CFLAGS CPPFLAGS LDFLAGS;
Lucio Andrés Illanes Albornoz (arab, vxp) c288df
	mv config.cache ../${PKG_SUBDIR}/config.cache;
Lucio Andrés Illanes Albornoz (arab, vxp) c288df
	../${PKG_SUBDIR}/configure;
Lucio Andrés Illanes Albornoz (arab, vxp) ffcc9c
	make	_FIP=Programs/host_freeze_importlib Programs/host_freeze_importlib	\
Lucio Andrés Illanes Albornoz (arab, vxp) ffcc9c
		BUILDPYTHON=hostpython hostpython					\
Lucio Andrés Illanes Albornoz (arab, vxp) ffcc9c
		PGEN=Parser/hostpgen Parser/hostpgen;
Lucio Andrés Illanes Albornoz (arab, vxp) c288df
	make distclean);
Lucio Andrés Illanes Albornoz (arab, vxp) c288df
	mv ../${PKG_SUBDIR}/config.cache .;
Lucio Andrés Illanes Albornoz (arab, vxp) ffcc9c
	sed -i.orig '/^# autoconf/a\
Lucio Andrés Illanes Albornoz (arab, vxp) ffcc9c
ac_cv_buggy_getaddrinfo=no' config.cache;
Lucio Andrés Illanes Albornoz (arab, vxp) ffcc9c
};
Lucio Andrés Illanes Albornoz (arab, vxp) ffcc9c
Lucio Andrés Illanes Albornoz (arab, vxp) ffcc9c
# vim:filetype=sh