aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMark Severson2013-05-12 22:28:44 -0600
committerJack Nagel2013-05-14 18:33:06 -0500
commitaafb0547ee6875d270dba135368374093888e6c7 (patch)
tree04d3d03eaac304fdd0facb678c19226e4021ce55 /Library
parent3e7aaa1ec6a3640f2f6286892917ef0004a13701 (diff)
downloadhomebrew-aafb0547ee6875d270dba135368374093888e6c7.tar.bz2
sdl: point HEAD at 1.2 series
c.f. #19766. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/sdl.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Formula/sdl.rb b/Library/Formula/sdl.rb
index c18ea59dd..8574417b0 100644
--- a/Library/Formula/sdl.rb
+++ b/Library/Formula/sdl.rb
@@ -5,7 +5,7 @@ class Sdl < Formula
url 'http://www.libsdl.org/release/SDL-1.2.15.tar.gz'
sha1 '0c5f193ced810b0d7ce3ab06d808cbb5eef03a2c'
- head 'http://hg.libsdl.org/SDL', :using => :hg
+ head 'http://hg.libsdl.org/SDL', :branch => 'SDL-1.2', :using => :hg
if build.head?
depends_on :automake
@@ -18,11 +18,7 @@ class Sdl < Formula
# we have to do this because most build scripts assume that all sdl modules
# are installed to the same prefix. Consequently SDL stuff cannot be
# keg-only but I doubt that will be needed.
- if build.stable?
- inreplace %w[sdl.pc.in sdl-config.in], '@prefix@', HOMEBREW_PREFIX
- else
- inreplace %w[sdl2.pc.in sdl2-config.in], '@prefix@', HOMEBREW_PREFIX
- end
+ inreplace %w[sdl.pc.in sdl-config.in], '@prefix@', HOMEBREW_PREFIX
ENV.universal_binary if build.universal?