diff options
| author | Adam Vandenberg | 2012-02-25 15:22:32 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-25 15:22:32 -0800 |
| commit | dfcc838b6640466dced2d51b8c31299af3f52940 (patch) | |
| tree | fbbb2b179e4a27e83bd96f6464952dfbe47f51f3 /Library/Formula | |
| parent | 72b53178c384cfb44277b3632df59892620ce17e (diff) | |
| download | homebrew-dfcc838b6640466dced2d51b8c31299af3f52940.tar.bz2 | |
Add "require hardware" to formula.rb
Now individual formulae don't need to require this if they want to use
Hardware methods outside of `def install`.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/dosbox.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/mongodb.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/octave.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/postgresql.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/pypy.rb | 4 | ||||
| -rw-r--r-- | Library/Formula/qt.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/riak.rb | 1 |
7 files changed, 2 insertions, 8 deletions
diff --git a/Library/Formula/dosbox.rb b/Library/Formula/dosbox.rb index 605b28456..79f6fcd88 100644 --- a/Library/Formula/dosbox.rb +++ b/Library/Formula/dosbox.rb @@ -1,5 +1,4 @@ require 'formula' -require 'hardware' class Dosbox < Formula url 'http://downloads.sourceforge.net/project/dosbox/dosbox/0.74/dosbox-0.74.tar.gz' diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index 75ae9ce2f..2cf3839c4 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -1,5 +1,4 @@ require 'formula' -require 'hardware' class Mongodb < Formula homepage 'http://www.mongodb.org/' diff --git a/Library/Formula/octave.rb b/Library/Formula/octave.rb index 6376192ef..0b9c1508a 100644 --- a/Library/Formula/octave.rb +++ b/Library/Formula/octave.rb @@ -1,5 +1,4 @@ require 'formula' -require 'hardware' def no_magick? ARGV.include? '--without-graphicsmagick' diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb index 2c9386684..d32ede341 100644 --- a/Library/Formula/postgresql.rb +++ b/Library/Formula/postgresql.rb @@ -1,5 +1,4 @@ require 'formula' -require 'hardware' class Postgresql < Formula homepage 'http://www.postgresql.org/' diff --git a/Library/Formula/pypy.rb b/Library/Formula/pypy.rb index cd33ceccc..fa0c53954 100644 --- a/Library/Formula/pypy.rb +++ b/Library/Formula/pypy.rb @@ -1,7 +1,8 @@ require 'formula' -require 'hardware' class Pypy < Formula + homepage 'http://pypy.org/' + if MacOS.prefer_64_bit? url 'https://bitbucket.org/pypy/pypy/downloads/pypy-1.8-osx64.tar.bz2' md5 '1c293253e8e4df411c3dd59dff82a663' @@ -11,7 +12,6 @@ class Pypy < Formula md5 '8584c4e8c042f5b661fcfffa0d9b8a25' version '1.4.1' end - homepage 'http://pypy.org/' def install prefix.install Dir['*'] diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb index 2e6ca494f..311e1d6d8 100644 --- a/Library/Formula/qt.rb +++ b/Library/Formula/qt.rb @@ -1,5 +1,4 @@ require 'formula' -require 'hardware' class Qt < Formula homepage 'http://qt.nokia.com/' diff --git a/Library/Formula/riak.rb b/Library/Formula/riak.rb index cbaeae740..6f483c85d 100644 --- a/Library/Formula/riak.rb +++ b/Library/Formula/riak.rb @@ -1,5 +1,4 @@ require 'formula' -require 'hardware' class Riak < Formula homepage 'http://wiki.basho.com/Riak.html' |
