From 55a6322fb829d9a34a3229b6674a07b4ea4dd974 Mon Sep 17 00:00:00 2001 From: Thierry Moisan Date: Fri, 21 Dec 2018 14:35:41 -0500 Subject: [PATCH] e2fsprogs 1.44.5 Closes #35339. Signed-off-by: FX Coudert --- Formula/e2fsprogs.rb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Formula/e2fsprogs.rb b/Formula/e2fsprogs.rb index 2d92882031..7435116341 100644 --- a/Formula/e2fsprogs.rb +++ b/Formula/e2fsprogs.rb @@ -1,8 +1,8 @@ class E2fsprogs < Formula desc "Utilities for the ext2, ext3, and ext4 file systems" homepage "https://e2fsprogs.sourceforge.io/" - url "https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.44.3/e2fsprogs-1.44.3.tar.gz" - sha256 "c2ae6d8ce6fb96b55886cf761411fc22ab41976f4f8297fc54c706df442483be" + url "https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.44.5/e2fsprogs-1.44.5.tar.gz" + sha256 "2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc" head "https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git" bottle do @@ -18,7 +18,12 @@ class E2fsprogs < Formula depends_on "gettext" def install - system "./configure", "--prefix=#{prefix}", "--disable-e2initrd-helper" + # Enforce MKDIR_P to work around a configure bug + # see https://github.com/Homebrew/homebrew-core/pull/35339 + # and https://sourceforge.net/p/e2fsprogs/discussion/7053/thread/edec6de279/ + system "./configure", "--prefix=#{prefix}", "--disable-e2initrd-helper", + "MKDIR_P=mkdir -p" + system "make" system "make", "install" system "make", "install-libs"