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