parent
d528e9aad8
commit
f66ec5bdcc
1 changed files with 2 additions and 10 deletions
|
@ -1,8 +1,8 @@
|
|||
class S3fs < Formula
|
||||
desc "FUSE-based file system backed by Amazon S3"
|
||||
homepage "https://github.com/s3fs-fuse/s3fs-fuse/wiki"
|
||||
url "https://github.com/s3fs-fuse/s3fs-fuse/archive/v1.82.tar.gz"
|
||||
sha256 "8a40f0b11b558b6d733eeff4fcc025cc416df37b6732001bb0c630f6d6d760dd"
|
||||
url "https://github.com/s3fs-fuse/s3fs-fuse/archive/v1.83.tar.gz"
|
||||
sha256 "8f060accef304c1e5adde0c9d6976a3a69fd9935444a4985517c6cefa86b34ef"
|
||||
|
||||
head "https://github.com/s3fs-fuse/s3fs-fuse.git"
|
||||
|
||||
|
@ -24,14 +24,6 @@ class S3fs < Formula
|
|||
depends_on :osxfuse
|
||||
|
||||
def install
|
||||
# Fix "error: no matching function for call to 'clock_gettime'"
|
||||
# Reported 14 May 2017 https://github.com/s3fs-fuse/s3fs-fuse/issues/600
|
||||
if MacOS.version >= :sierra
|
||||
inreplace "src/cache.cpp", "return clock_gettime(clk_id, ts);",
|
||||
"return clock_gettime((clockid_t)clk_id, ts);"
|
||||
|
||||
end
|
||||
|
||||
system "./autogen.sh"
|
||||
system "./configure", "--disable-dependency-tracking", "--with-gnutls", "--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
|
|
Loading…
Reference in a new issue