From e37ebaf66664a903369ecfd32f3fb9d15a4611b6 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Fri, 15 May 2015 03:54:47 +0000 Subject: Add back support for PYTHON_NO_DEPENDS that was lost in the USES=python conversion in r364450. This feature is still very useful for meta packages to be able to easily depend on py-* packages using the correct PY_* vars. For the sake of POLA retain the same name so previously working ports just work. --- Mk/Uses/python.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Mk/Uses') diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index 79b1f939c999..36824605fa32 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -28,7 +28,7 @@ # it as RUN_DEPENDS. # # If build and run are omitted, Python will be added as BUILD_DEPENDS and -# RUN_DEPENDS. +# RUN_DEPENDS. PYTHON_NO_DEPENDS can be set to not add any dependencies. # # Variables, which can be set by a user: # @@ -243,7 +243,8 @@ _PYTHON_ARGS:= ${_PYTHON_ARGS:Nrun} # The port does not specify a build or run dependency, assume both are # required. -.if !defined(_PYTHON_BUILD_DEP) && !defined(_PYTHON_RUN_DEP) +.if !defined(_PYTHON_BUILD_DEP) && !defined(_PYTHON_RUN_DEP) && \ + !defined(PYTHON_NO_DEPENDS) _PYTHON_BUILD_DEP= yes _PYTHON_RUN_DEP= yes .endif -- cgit