aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJacob Harris2009-09-23 18:31:30 -0400
committerMax Howell2009-09-30 01:24:31 +0100
commit25e5766843731bb3ccc75f47783260055eb2ece5 (patch)
tree01d89b5f5b7abbe780d176f11cb94e6ed1cb27e1 /Library/Formula
parentc40d162750399bce96460843bb18bf37e36d7024 (diff)
downloadhomebrew-25e5766843731bb3ccc75f47783260055eb2ece5.tar.bz2
Force Subversion to link to Homebrew neon
Closes #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.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/subversion.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb
index e4584062e..867ba4ef4 100644
--- a/Library/Formula/subversion.rb
+++ b/Library/Formula/subversion.rb
@@ -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",