aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-12-10 02:35:06 -0500
committerJack Nagel2014-12-10 02:37:47 -0500
commit6d55d0cf2e17da14f9fe55a3f03f00ef83b1927b (patch)
tree934ce8cd53bfbb7336018c6a260b190c0c4d2e35 /Library/Formula
parent1a349e2c4162dc55335a86f07fc57e34944d8105 (diff)
downloadhomebrew-6d55d0cf2e17da14f9fe55a3f03f00ef83b1927b.tar.bz2
subversion: apply libtool patch for linking on 10.10
The subversion formula uses stdenv due to the serf -> scons dependency, and since stdenv sets MACOSX_DEPLOYMENT_TARGET, we need to patch configure to work around a bug in libtool (which is already fixed in libtool upstream). See commit a5a36f44ca6fb626929c13154b10d13380d78cf4, and https://trac.macports.org/ticket/44596#comment:35 for more information. Fixes #34644.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/subversion.rb11
1 files changed, 10 insertions, 1 deletions
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb
index d811423bf..6d4e80170 100644
--- a/Library/Formula/subversion.rb
+++ b/Library/Formula/subversion.rb
@@ -244,9 +244,18 @@ end
__END__
diff --git a/configure b/configure
-index 445251b..3ed9485 100755
+index 445251b..6ff4332 100755
--- a/configure
+++ b/configure
+@@ -10348,7 +10348,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
+- 10.[012]*)
++ 10.[012][,.]*)
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
+ 10.*)
+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -25205,6 +25205,8 @@ fi
SWIG_CPPFLAGS="$CPPFLAGS"