From 28b17725abe795dee3a55586b24e13f422a604e2 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Thu, 28 Apr 2016 12:17:09 +0000 Subject: Remove ${PORTSDIR} from python _DEPENDS --- Mk/Uses/python.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Mk') diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index abd4c1fecf5b..ceb6e8d70b76 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -225,7 +225,7 @@ _INCLUDE_USES_PYTHON_MK= yes _PYTHON_VERSIONS= 2.7 3.4 3.5 3.3 # preferred first _PYTHON_PORTBRANCH= 2.7 # ${_PYTHON_VERSIONS:[1]} _PYTHON_BASECMD= ${LOCALBASE}/bin/python -_PYTHON_RELPORTDIR= ${PORTSDIR}/lang/python +_PYTHON_RELPORTDIR= lang/python # Make each individual feature available as _PYTHON_FEATURE_ .for var in ${USE_PYTHON} @@ -396,8 +396,8 @@ PYTHON_REL= # empty PYTHON_ABIVER= # empty PYTHON_PORTSDIR= ${_PYTHON_RELPORTDIR}${PYTHON_SUFFIX} # Protect partial checkouts from Mk/Scripts/functions.sh:export_ports_env(). -.if !defined(_PORTS_ENV_CHECK) || exists(${PYTHON_PORTSDIR}) -.include "${PYTHON_PORTSDIR}/Makefile.version" +.if !defined(_PORTS_ENV_CHECK) || exists(${PORTSDIR}/${PYTHON_PORTSDIR}) +.include "${PORTSDIR}/${PYTHON_PORTSDIR}/Makefile.version" .endif # Create a 4 integer version string, prefixing 0 to the last token if # it's a single character. Only use the the first 3 tokens of -- cgit