Closes Homebrew/homebrew#14653.
Closes Homebrew/homebrew#8052. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>