aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-10-05 20:15:18 -0500
committerJack Nagel2014-10-05 20:15:18 -0500
commit09c27ac953db218ca1941cdd6aa8c1a7886b7638 (patch)
tree11a30fdf06521a5f495873aa674fe0f47ad6e73e /Library/Formula
parent799f5970ada803452943f7421f5e6a6e66ee9112 (diff)
downloadhomebrew-09c27ac953db218ca1941cdd6aa8c1a7886b7638.tar.bz2
Remove last usage of StrictSubversionDownloadStrategy
This strategy is only used in one formula, so we can just replace it with a dependency. It could be done with a requirement, but since this is a low-impact change (it only matters for head builds on Leopard), I'm not sure it's worth the effort. The constant is retained for compatibility, though I could find only one other reference to it on GitHub, in a formula that was removed from core almost two years ago.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mplayer.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/mplayer.rb b/Library/Formula/mplayer.rb
index 0495faf72..d99d11106 100644
--- a/Library/Formula/mplayer.rb
+++ b/Library/Formula/mplayer.rb
@@ -22,7 +22,8 @@ class Mplayer < Formula
end
head do
- url "svn://svn.mplayerhq.hu/mplayer/trunk", :using => StrictSubversionDownloadStrategy
+ url "svn://svn.mplayerhq.hu/mplayer/trunk"
+ depends_on "subversion" => :build if MacOS.version <= :leopard
# When building SVN, configure prompts the user to pull FFmpeg from git.
# Don't do that.