Date: Sun, 8 Dec 2013 14:42:12 +0100 (CET) From: Marcus von Appen <mva@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/184591: [exp-run]: Removal of lang/python as implicit dependency for USE_PYTHON Message-ID: <201312081342.rB8DgC9s037361@medusa.sysfault.org> Resent-Message-ID: <201312081350.rB8Do0SJ094296@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312081342.rB8DgC9s037361>