diff options
| author | Suresh Sundriyal | 2015-03-23 19:35:33 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2015-03-24 08:25:18 +0000 |
| commit | 7ab0d859d32c22b1d0e85a57984a65ae3cd7e6cb (patch) | |
| tree | a49857ca98c66c3234df946ad9137e1708869683 /Library/Formula | |
| parent | 8b41e18bc4018c60d55793eaef1f5b777475c19d (diff) | |
| download | homebrew-7ab0d859d32c22b1d0e85a57984a65ae3cd7e6cb.tar.bz2 | |
lnav: fix HEAD readline linking.
Installing lnav from HEAD is currently broken. Currently the Formula
specifies 'readline' as a dependency. However, readline formula is
keg-only because 'OS X provides the BSD libedit library, which shadows
libreadline.'
With the latest changes in lnav build scripts, it detects and rejects
building with 'editline'. This change explicitly passes in the prefix to
readline during 'configure' stage to get around the problem.
Closes #38013.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/lnav.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/lnav.rb b/Library/Formula/lnav.rb index 714f60004..86a1f7ac0 100644 --- a/Library/Formula/lnav.rb +++ b/Library/Formula/lnav.rb @@ -18,7 +18,8 @@ class Lnav < Formula def install system "./configure", "--disable-dependency-tracking", - "--prefix=#{prefix}" + "--prefix=#{prefix}", + "--with-readline=#{Formula["readline"].opt_prefix}" system "make", "install" end end |
