Skip to content

Commit

Permalink
abcde: fix redir expansion bug.
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#47643.
Closes Homebrew/legacy-homebrew#47644.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
benjaminfrank authored and DomT4 committed Jan 4, 2016
1 parent 1fbb2ab commit 4a764c7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Formula/abcde.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Abcde < Formula
url "http://abcde.einval.com/download/abcde-2.7.1.tar.gz"
mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/a/abcde/abcde_2.7.1.orig.tar.gz"
sha256 "3401e39785b20edee843d4d875b47d2b559f764681c482c4491a8c8ba605f250"
revision 1
head "http://git.einval.com/git/abcde.git"

bottle do
Expand All @@ -22,6 +23,16 @@ class Abcde < Formula
depends_on "vorbis-tools" => :optional
depends_on "glyr" => :optional

# Fix "Expansion of $REDIR quoted on MacOSX breaks cp" bug
# (http://abcde.einval.com/bugzilla/show_bug.cgi?id=22)
# Obsolete once a new version is released as upstream already merged this
# patch in c024365a846faae390f23c86f32235d6209e6edf
# (http://git.einval.com/cgi-bin/gitweb.cgi?p=abcde.git;a=commit;h=c024365a846faae390f23c86f32235d6209e6edf)
patch do
url "http://abcde.einval.com/bugzilla/attachment.cgi?id=12"
sha256 "4620dd5ef7ab32b6511782da85831661ccee292fadff1f58acc3b4992486af62"
end

def install
system "make", "install", "prefix=#{prefix}", "etcdir=#{etc}"
end
Expand Down

0 comments on commit 4a764c7

Please sign in to comment.