libfaketime: depend on coreutils

The `faketime` wrapper needs GNU `gdate` to support relative date syntax
such as "3 weeks ago," which is not supported by the BSD `date` command.

Fixes #26568.

Closes #26944.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2018-04-22 02:39:10 -07:00
parent ef87604be6
commit 4e05204f06

View file

@ -3,6 +3,7 @@ class Libfaketime < Formula
homepage "https://github.com/wolfcw/libfaketime"
url "https://github.com/wolfcw/libfaketime/archive/v0.9.7.tar.gz"
sha256 "4d65f368b2d53ee2f93a25d5e9541ce27357f2b95e5e5afff210e0805042811e"
revision 1
head "https://github.com/wolfcw/libfaketime.git"
bottle do
@ -11,6 +12,11 @@ class Libfaketime < Formula
sha256 "0b792c716c6e8ba9db928b0c4dc4ab2dc474eb12da529186ba4475f5fba73169" => :el_capitan
end
# The `faketime` command needs GNU `gdate` not BSD `date`.
# See https://github.com/wolfcw/libfaketime/issues/158 and
# https://github.com/Homebrew/homebrew-core/issues/26568
depends_on "coreutils"
depends_on :macos => :lion
def install