aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBirger J. Nordølum2012-11-13 01:34:22 +0100
committerAdam Vandenberg2012-11-12 19:00:43 -0800
commita7fd611e38e2291931a01a7caf7eb2ce5ba6e873 (patch)
treee9eca28c50686038fceecdf742951e1dfcfa4ccd /Library/Formula
parente40a7d498535b01f72429249498f788b77409286 (diff)
downloadhomebrew-a7fd611e38e2291931a01a7caf7eb2ce5ba6e873.tar.bz2
coreutils 8.20 + patch
Closes #16007. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/coreutils.rb27
1 files changed, 24 insertions, 3 deletions
diff --git a/Library/Formula/coreutils.rb b/Library/Formula/coreutils.rb
index d3fe1d862..0ba930053 100644
--- a/Library/Formula/coreutils.rb
+++ b/Library/Formula/coreutils.rb
@@ -2,12 +2,18 @@ require 'formula'
class Coreutils < Formula
homepage 'http://www.gnu.org/software/coreutils'
- url 'http://ftpmirror.gnu.org/coreutils/coreutils-8.19.tar.xz'
- mirror 'http://ftp.gnu.org/gnu/coreutils/coreutils-8.19.tar.xz'
- sha256 'ad3873183fd8cfc7672b3ba54644672e59352f9b2dc7e3ad251c1174dde8a9e7'
+ url 'http://ftpmirror.gnu.org/coreutils/coreutils-8.20.tar.xz'
+ mirror 'http://ftp.gnu.org/gnu/coreutils/coreutils-8.20.tar.xz'
+ sha256 'dbcb798764827a0f74be738662ecb516705cf520330cd3d7b2640fdffa499eb2'
depends_on 'xz' => :build
+ def patches
+ # Build issue with LIBICONV. Can be removed for next release.
+ # http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=88a6201917cad43fd4efea0f1c34c891b70a7414
+ DATA
+ end
+
def install
system "./configure", "--prefix=#{prefix}", "--program-prefix=g"
system "make install"
@@ -47,3 +53,18 @@ class Coreutils < Formula
filenames.sort
end
end
+
+__END__
+diff --git a/Makefile.in b/Makefile.in
+index 9768860..c8f92c2 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -3114,7 +3114,7 @@ src_expand_LDADD = $(LDADD)
+
+ # for various GMP functions
+ src_expr_LDADD = $(LDADD) $(LIB_GMP)
+-src_factor_LDADD = $(LDADD) $(LIB_GMP)
++src_factor_LDADD = $(LDADD) $(LIB_GMP) $(LIBICONV)
+ src_false_LDADD = $(LDADD)
+ src_fmt_LDADD = $(LDADD)
+ src_fold_LDADD = $(LDADD)