Summary: | [patch] USES=linux silently ignores unsupported Linux packages from USE_LINUX | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | David Naylor <dbn> | ||||
Component: | Ports Framework | Assignee: | David Naylor <dbn> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | portmgr, ports-bugs, tijl | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | Latest | Flags: | koobs:
merge-quarterly?
|
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Feel free to commit, but perhaps it's better to use DEV_ERROR? Then users won't see build problems because of this. A commit references this bug: Author: dbn Date: Tue Aug 7 16:40:53 UTC 2018 New revision: 476605 URL: https://svnweb.freebsd.org/changeset/ports/476605 Log: USES=linux: DEV_ERROR if linux package does not exist PR: 225768 Approved by: tijl@ Changes: head/Mk/Uses/linux.mk Can/should this be MFH'd ? It's not that important is it? Also, there are almost no direct commits to the quarterly branch, so it will most certainly never be triggered. Committed a while ago. |
Created attachment 190437 [details] Patch USES=linux to ERROR if a Linux package is missing Is a port specifies a Linux package that does not exist then USES=linux silently ignores that package, instead of generating an ERROR for a non-existent dependency. The attached patch adds that safeguard. Would you like an exp-run for this?