svn commit: r386380 - head/Mk/Uses
Bryan Drewery
bdrewery at FreeBSD.org
Fri May 15 03:54:48 UTC 2015
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
More information about the svn-ports-all
mailing list