Force Subversion to link to Homebrew neon

Closes Homebrew/homebrew#59

Signed-off-by: Max Howell <max@methylblue.com>

As I understand it, this is not required on 10.6. But then again this formula
isn't really required on 10.6.
This commit is contained in:
Jacob Harris 2009-09-23 18:31:30 -04:00 committed by Max Howell
parent 6c8446fbc7
commit 3f6b58cec3

View file

@ -8,6 +8,10 @@ class Subversion <Formula
depends_on 'neon'
def install
# Force LDFLAGS to load the HOMEBREW lib directory first. Necessary because SVN configure will
# otherwise link to OS X neon libs in /usr/lib (and ignore --with-neon anyway)
ENV['LDFLAGS'] += " -L#{Formula.factory('neon').lib}"
# Use existing system zlib, dep-provided other libraries
# Don't mess with Apache modules (since we're not sudo)
system "./configure", "--disable-debug",