Skip to content

Commit

Permalink
Revert "gettext: remove patch"
Browse files Browse the repository at this point in the history
This is still a burden on older systems.

Fixes Homebrew#166.

This reverts commit 6599cce.
  • Loading branch information
mistydemeo committed Jan 17, 2014
1 parent 13cd983 commit 56673bf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Library/Formula/gettext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ class Gettext < Formula
keg_only "OS X provides the BSD gettext library and some software gets confused if both are in the library path."

option :universal
option 'with-examples', 'Keep example files'

def patches
unless build.include? 'with-examples'
# Use a MacPorts patch to disable building examples at all,
# rather than build them and remove them afterwards.
{:p0 => ['https://trac.macports.org/export/102008/trunk/dports/devel/gettext/files/patch-gettext-tools-Makefile.in']}
end
end

def install
ENV.libxml2
Expand Down

0 comments on commit 56673bf

Please sign in to comment.