aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-05-08 20:20:27 -0500
committerJack Nagel2014-05-08 20:20:27 -0500
commit6000c0caf994f628494a3cf61a3adf6b737bfcdd (patch)
tree8bbdab14d88d3c25b13a61b1d514cfb756f7157f /Library
parentfa667dc8d3127dbc4ba86e0bcbdfa4d4bda339aa (diff)
downloadbrew-6000c0caf994f628494a3cf61a3adf6b737bfcdd.tar.bz2
Suggest current practice for autotools deps
Diffstat (limited to 'Library')
-rw-r--r--Library/Contributions/example-formula.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Contributions/example-formula.rb b/Library/Contributions/example-formula.rb
index ce2c6e20d..dbd65d0a0 100644
--- a/Library/Contributions/example-formula.rb
+++ b/Library/Contributions/example-formula.rb
@@ -55,8 +55,9 @@ class ExampleFormula < Formula
head do
url "https://example.com/repo.git"
- depends_on :autoconf
- depends_on :automake
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
end
# The optional devel block is only executed if the user passes `--devel`.
@@ -155,9 +156,6 @@ class ExampleFormula < Formula
depends_on :arch => :ppc # Only builds on PowerPC?
depends_on :ld64 # Sometimes ld fails on `MacOS.version < :leopard`. Then use this.
depends_on :x11 # X11/XQuartz components.
- # autoconf/automake is sometimes needed for --HEAD checkouts:
- depends_on :bsdmake
- depends_on :libtool
depends_on :mysql => :recommended
# It is possible to only depend on something if
# `build.with?` or `build.without? "another_formula"`: