aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gettext.rb
diff options
context:
space:
mode:
authorBirger J. Nordølum2013-01-30 19:18:59 -0800
committerMike McQuaid2013-01-30 21:28:13 -0800
commitc8e44da50391999c790d46416f821c3de3a870a8 (patch)
treeab7ba556149d25f8d7f0475bebf8328e45868ead /Library/Formula/gettext.rb
parentcdb76cd7d5f851530f5a0dff9e38306852c9d6fa (diff)
downloadhomebrew-c8e44da50391999c790d46416f821c3de3a870a8.tar.bz2
gettext 0.18.2
Removed one of the patches, as done over at MacPorts. Closes #17281. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/gettext.rb')
-rw-r--r--Library/Formula/gettext.rb19
1 files changed, 4 insertions, 15 deletions
diff --git a/Library/Formula/gettext.rb b/Library/Formula/gettext.rb
index 5dcc3d3a8..08a44fbfa 100644
--- a/Library/Formula/gettext.rb
+++ b/Library/Formula/gettext.rb
@@ -2,32 +2,21 @@ require 'formula'
class Gettext < Formula
homepage 'http://www.gnu.org/software/gettext/'
- url 'http://ftpmirror.gnu.org/gettext/gettext-0.18.1.1.tar.gz'
- mirror 'http://ftp.gnu.org/gnu/gettext/gettext-0.18.1.1.tar.gz'
- sha1 '5009deb02f67fc3c59c8ce6b82408d1d35d4e38f'
+ url 'http://ftpmirror.gnu.org/gettext/gettext-0.18.2.tar.gz'
+ mirror 'http://ftp.gnu.org/gnu/gettext/gettext-0.18.2.tar.gz'
+ sha256 '516a6370b3b3f46e2fc5a5e222ff5ecd76f3089bc956a7587a6e4f89de17714c'
keg_only "OS X provides the BSD gettext library and some software gets confused if both are in the library path."
- bottle do
- sha1 'd1ad5ad15bfe8fe813ee37e5d6b514fc79924b9a' => :mountainlion
- sha1 'c75fdb192f1b49c9e7e2039c66e24f60f26bc027' => :lion
- sha1 'b8958544542fc160b4c74db5d83cb441d12741c7' => :snowleopard
- end
-
option :universal
option 'with-examples', 'Keep example files'
def patches
- # Patch to allow building with Xcode 4; safe for any compiler.
- p = {:p0 => ['https://trac.macports.org/export/79617/trunk/dports/devel/gettext/files/stpncpy.patch']}
-
unless build.include? 'with-examples'
# Use a MacPorts patch to disable building examples at all,
# rather than build them and remove them afterwards.
- p[:p0] << 'https://trac.macports.org/export/79183/trunk/dports/devel/gettext/files/patch-gettext-tools-Makefile.in'
+ {:p0 => ['https://trac.macports.org/export/102008/trunk/dports/devel/gettext/files/patch-gettext-tools-Makefile.in']}
end
-
- return p
end
def install