Date: Fri, 15 May 2015 03:54:48 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386380 - head/Mk/Uses Message-ID: <201505150354.t4F3smPK057337@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Fri May 15 03:54:47 2015 New Revision: 386380 URL: https://svnweb.freebsd.org/changeset/ports/386380 Log: 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. Modified: head/Mk/Uses/python.mk Modified: head/Mk/Uses/python.mk ============================================================================== --- head/Mk/Uses/python.mk Fri May 15 03:48:06 2015 (r386379) +++ head/Mk/Uses/python.mk Fri May 15 03:54:47 2015 (r386380) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505150354.t4F3smPK057337>