aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-12-27 16:11:01 +0000
committerMike McQuaid2014-12-27 16:31:48 +0000
commit975a8fd5306f0d06bb8634bfee8af28a52113961 (patch)
treefa457050697a9cc9c77b09b6058ee00cabb46a79 /Library/Formula
parent3c7bfbafea37af9707a1564995602bbeef5cb64e (diff)
downloadhomebrew-975a8fd5306f0d06bb8634bfee8af28a52113961.tar.bz2
readline: fix some strict audit failures.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/readline.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/readline.rb b/Library/Formula/readline.rb
index 445f66e70..e567decb4 100644
--- a/Library/Formula/readline.rb
+++ b/Library/Formula/readline.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Readline < Formula
homepage "http://tiswww.case.edu/php/chet/readline/rltop.html"
url "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz"
@@ -15,11 +13,11 @@ class Readline < Formula
sha1 "e84f9cd95503b284651ef24bc8e7da30372687d3" => :lion
end
- keg_only :shadowed_by_osx, <<-EOS
-OS X provides the BSD libedit library, which shadows libreadline.
-In order to prevent conflicts when programs look for libreadline we are
-defaulting this GNU Readline installation to keg-only.
-EOS
+ keg_only :shadowed_by_osx, <<-EOS.undent
+ OS X provides the BSD libedit library, which shadows libreadline.
+ In order to prevent conflicts when programs look for libreadline we are
+ defaulting this GNU Readline installation to keg-only.
+ EOS
# Vendor the patches.
# The mirrors are unreliable for getting the patches, and the more patches
@@ -35,7 +33,7 @@ EOS
def install
ENV.universal_binary
system "./configure", "--prefix=#{prefix}", "--enable-multibyte"
- system "make install"
+ system "make", "install"
# The 6.3 release notes say:
# When creating shared libraries on Mac OS X, the pathname written into the