FreeBSD Bugzilla – Attachment 190437 Details for
Bug 225768
[patch] USES=linux silently ignores unsupported Linux packages from USE_LINUX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch USES=linux to ERROR if a Linux package is missing
linux.diff (text/plain), 418 bytes, created by
David Naylor
on 2018-02-08 18:47:15 UTC
(
hide
)
Description:
Patch USES=linux to ERROR if a Linux package is missing
Filename:
MIME Type:
Creator:
David Naylor
Created:
2018-02-08 18:47:15 UTC
Size:
418 bytes
patch
obsolete
>diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk >index 11b6265b94dc..b59f1fa89e24 100644 >--- a/Mk/Uses/linux.mk >+++ b/Mk/Uses/linux.mk >@@ -173,6 +173,9 @@ BUILD_DEPENDS+= ${linux_${i:C/:.*//}_DEP} > .if ${_i_args:Mrun} || empty(_i_args) > RUN_DEPENDS+= ${linux_${i:C/:.*//}_DEP} > .endif >+.if !defined(linux_${i:C/:.*//}_DEP) >+ERROR+= "USE_LINUX=${i}: package does not exist" >+.endif > .endfor > > .ifdef USE_LINUX_RPM
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 225768
: 190437