From 6256117d69833c86052b33bbc7252a244d3413a7 Mon Sep 17 00:00:00 2001 From: John Marino Date: Tue, 29 Dec 2015 12:03:09 +0000 Subject: lang/python27(3*), Mk/Uses/python.mk: remove make spawn There are some inefficiencies in python.mk that significantly slow down full tree scanning. The use of bmake to obtain the current version of a specific python is responsible for the majority of the slow done. This commit splits out the PYTHON_PORTVERSION definition (which is the same as the lang/python* PORTVERSION) into separate files. With this change, python.mk can simple include the makefile fragment instead of spawning a new instance of make. Different Revision: https://reviews.freebsd.org/D4660 Approved by: antoine (python), mva (python) --- lang/python32/Makefile.version | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 lang/python32/Makefile.version (limited to 'lang/python32/Makefile.version') diff --git a/lang/python32/Makefile.version b/lang/python32/Makefile.version new file mode 100644 index 000000000000..681b086322df --- /dev/null +++ b/lang/python32/Makefile.version @@ -0,0 +1,4 @@ +# Mk/Uses/python.mk includes this file, don't remove it! +# $FreeBSD$ + +PYTHON_PORTVERSION= 3.2.6 -- cgit v1.2.3