Bug 193231 - security/broccoli: PYTHON_USE -> USES= python
Summary: security/broccoli: PYTHON_USE -> USES= python
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kubilay Kocak
Keywords: easy, needs-patch, needs-qa
Depends on:
Reported: 2014-09-01 18:53 UTC by Craig Leres
Modified: 2015-01-27 18:52 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback+

patch to security/broccoli (1.61 KB, text/plain)
2014-09-01 18:53 UTC, Craig Leres
leres: maintainer-approval+

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Leres freebsd_committer 2014-09-01 18:53:05 UTC
Created attachment 146635 [details]
patch to security/broccoli

Update Makefile to use USES= python and fix some BRO_PREFIX issues.
Comment 1 Craig Leres freebsd_committer 2014-09-01 18:53:44 UTC
Comment on attachment 146635 [details]
patch to security/broccoli

Here's a redports log for this change:

Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2014-09-02 00:22:33 UTC
A poudriere testport with the PYTHON option turned on would be more useful for these changes. You can use the testport -c flag to run make config to achieve that. Please update the attached build log with the new output
Comment 3 Craig Leres freebsd_committer 2014-09-02 02:02:31 UTC
I don't have a working poudriere environment, is there a way to test with a redports build? Or can I just capture the output of a build on my own build server?
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2014-09-02 02:17:58 UTC
While poudriere is preferable (given its propensity to be more thorough with plist checks, you can add PYTHON to OPTIONS_DEFAULT and commit so redports will use the option when building.

Just ensure you remove it if you need to update your patch again :)
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2015-01-18 07:43:56 UTC
Are you sure you want to make python dependency unconditional, rather than just when the PYTHON option is on?

The change from PYTHON_USE=python=yes (USE_PYTHON=yes) to PYTHON_USES=python (USES=python) was already made in:


Please advise
Comment 6 Craig Leres freebsd_committer 2015-01-21 07:11:38 UTC
FYI, I think you're right and I'm working on an updated patch.
Comment 7 Craig Leres freebsd_committer 2015-01-27 18:52:44 UTC
This patch was folded into this security update: