From owner-svn-ports-all@FreeBSD.ORG Fri May 15 03:54:48 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5BED780F; Fri, 15 May 2015 03:54:48 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4ADA51D16; Fri, 15 May 2015 03:54:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4F3sm7t057338; Fri, 15 May 2015 03:54:48 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4F3smPK057337; Fri, 15 May 2015 03:54:48 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201505150354.t4F3smPK057337@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Fri, 15 May 2015 03:54:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386380 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2015 03:54:48 -0000 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