summaryrefslogtreecommitdiffhomepage
path: root/370.python3.vars
blob: 0de381b0274e8a2a6d79699ea5a8a27465e9df06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# . ./build.vars and set -o errexit are assumed.
#

pkg_python3_extract_post() {
	cd ${PKG_SUBDIR};
	autoconf;
	./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() {
	sed -i.orig '/^# autoconf/a\
ac_cv_buggy_getaddrinfo=no' config.cache;
};

# vim:filetype=sh