Permalink
Browse files

Versioned formulae do not need head URLs

  • Loading branch information...
1 parent e951cb4 commit 9bcd4f4571932bbc8b9a76d2532ad08bbbdb55af @jacknagel jacknagel committed Feb 21, 2013
Showing with 4 additions and 34 deletions.
  1. +0 −2 coq83.rb
  2. +0 −2 drush4.rb
  3. +0 −2 node04.rb
  4. +4 −10 node06.rb
  5. +0 −7 redis24.rb
  6. +0 −5 ruby192.rb
  7. +0 −6 ruby193.rb
View
@@ -23,8 +23,6 @@ class Coq83 < Formula
version '8.3pl5'
sha1 '16ace63137143f951b696fc779185f82cd2cb77e'
- head 'svn://scm.gforge.inria.fr/svn/coq/trunk'
-
depends_on TransitionalMode
depends_on 'objective-caml'
depends_on 'camlp5'
View
@@ -5,8 +5,6 @@ class Drush4 < Formula
url 'http://ftp.drupal.org/files/projects/drush-7.x-4.6.tar.gz'
sha1 '51d7a7743342cb3dabb201b4c5433ab3da06fb40'
- head 'git://git.drupal.org/project/drush.git'
-
def install
libexec.install Dir['*']
bin.install_symlink libexec+'drush'
View
@@ -5,8 +5,6 @@ class Node04 < Formula
url 'http://nodejs.org/dist/node-v0.4.12.tar.gz'
sha1 '1c6e34b90ad6b989658ee85e0d0cb16797b16460'
- head 'https://github.com/joyent/node.git'
-
option 'enable-debug', 'Build with debugger hooks'
depends_on 'openssl' if MacOS.version == :leopard
View
@@ -5,22 +5,16 @@ class Node06 < Formula
url 'http://nodejs.org/dist/v0.6.21/node-v0.6.21.tar.gz'
sha1 '31f564bf34c64b07cae3b9a88a87b4a08bab4dc5'
- head 'https://github.com/joyent/node.git'
-
option 'enable-debug', 'Build with debugger hooks'
depends_on 'openssl' if MacOS.version == :leopard
- fails_with :llvm do
- build 2326
- end
+ fails_with(:llvm) { build 2326 }
def install
- unless build.devel?
- inreplace 'wscript' do |s|
- s.gsub! '/usr/local', HOMEBREW_PREFIX
- s.gsub! '/opt/local/lib', '/usr/lib'
- end
+ inreplace 'wscript' do |s|
+ s.gsub! '/usr/local', HOMEBREW_PREFIX
+ s.gsub! '/opt/local/lib', '/usr/lib'
end
# Why skip npm install? Read https://github.com/mxcl/homebrew/pull/8784.
View
@@ -5,13 +5,6 @@ class Redis24 < Formula
url 'http://redis.googlecode.com/files/redis-2.4.18.tar.gz'
sha1 '7afdaede54ccd5b1a838776eb82b4c97fe7d5d17'
- head 'https://github.com/antirez/redis.git', :branch => 'unstable'
-
- devel do
- url 'http://redis.googlecode.com/files/redis-2.6.0-rc8.tar.gz'
- sha1 '16309df54d1eb6e372c2b17ae2e48904cb0c4fca'
- end
-
fails_with :llvm do
build 2334
cause 'Fails with "reference out of range from _linenoise"'
View
@@ -5,9 +5,6 @@ class Ruby192 < Formula
url 'http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.bz2'
sha256 '403b3093fbe8a08dc69c269753b8c6e7bd8f87fb79a7dd7d676913efe7642487'
- head 'http://svn.ruby-lang.org/repos/ruby/trunk/'
-
- depends_on :autoconf if build.head?
depends_on 'pkg-config' => :build
depends_on 'readline'
depends_on 'gdbm'
@@ -22,8 +19,6 @@ class Ruby192 < Formula
end
def install
- system "autoconf" if build.head?
-
args = %W[--prefix=#{prefix}
--enable-shared]
View
@@ -5,8 +5,6 @@ class Ruby193 < Formula
url 'http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p385.tar.bz2'
sha256 'f991ee50414dc795696bad0fc5c7b0b94d93b9b38fed943326d20ce4e9dda42b'
- head 'http://svn.ruby-lang.org/repos/ruby/trunk/'
-
env :std
option :universal
@@ -16,8 +14,6 @@ class Ruby193 < Formula
if build.universal?
depends_on 'autoconf' => :build
- elsif build.head?
- depends_on :autoconf
end
depends_on 'pkg-config' => :build
@@ -31,8 +27,6 @@ class Ruby193 < Formula
end
def install
- system "autoconf" if build.head?
-
args = ["--prefix=#{prefix}",
"--enable-shared"]

0 comments on commit 9bcd4f4

Please sign in to comment.