ports/184591: [exp-run]: Removal of lang/python as implicit dependency for USE_PYTHON
Marcus von Appen
mva at FreeBSD.org
Sun Dec 8 13:50:00 UTC 2013
>Number: 184591
>Category: ports
>Synopsis: [exp-run]: Removal of lang/python as implicit dependency for USE_PYTHON
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 08 13:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Marcus von Appen
>Release: FreeBSD 9.2-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD medusa.sysfault.org 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #11 r255414: Mon Sep 9 15:04:24 CEST 2013 root at medusa.sysfault.org:/usr/obj/usr/src/sys/MEDUSA amd64
>Description:
lang/python has to vanish as RUN_DEPENDS and BUILD_DEPENDS from
bsd.python.mk to allow clean package builds for different python
versions. The patch below requires an exp-run to fix the direct or
indirect usage of `python` and build or installation time of ports.
>How-To-Repeat:
n/a
>Fix:
Index: Mk/bsd.python.mk
===================================================================
--- Mk/bsd.python.mk (revision 335877)
+++ Mk/bsd.python.mk (working copy)
@@ -578,15 +578,13 @@
.if ${PYTHON_NO_DEPENDS} == "NO"
.if defined(USE_PYTHON_BUILD)
-BUILD_DEPENDS+= ${PYTHON_CMD}:${PYTHON_PORTSDIR} \
- python:${PORTSDIR}/lang/python
+BUILD_DEPENDS+= ${PYTHON_CMD}:${PYTHON_PORTSDIR}
.if defined(_WANTS_META_PORT)
BUILD_DEPENDS+= python${_WANTS_META_PORT}:${PORTSDIR}/lang/python${_WANTS_META_PORT}
.endif
.endif
.if defined(USE_PYTHON_RUN)
-RUN_DEPENDS+= ${PYTHON_CMD}:${PYTHON_PORTSDIR} \
- python:${PORTSDIR}/lang/python
+RUN_DEPENDS+= ${PYTHON_CMD}:${PYTHON_PORTSDIR}
.if defined(_WANTS_META_PORT)
RUN_DEPENDS+= python${_WANTS_META_PORT}:${PORTSDIR}/lang/python${_WANTS_META_PORT}
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list