aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/coreutils.rb
diff options
context:
space:
mode:
authorJack Nagel2012-02-17 18:56:36 -0600
committerJack Nagel2012-02-17 18:58:28 -0600
commit3cae5b0ab1fbc1837f77e665443a43679d00f395 (patch)
tree9af670c3cb01223ecd4677164085f70cb6d71b31 /Library/Formula/coreutils.rb
parent3f06c0db98d2284e1c3acbc1a2ca4fca43ad417b (diff)
downloadhomebrew-3cae5b0ab1fbc1837f77e665443a43679d00f395.tar.bz2
Bite the bullet and declare xz as a build-time dep
Determining build-time deps as part of the download strategy is probably a Homebrew 2 topic, so avoid the "you need to install xz" warning by declaring xz as a dep where used. The "don't use xz if there are alternatives" policy is still in effect, though. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/coreutils.rb')
-rw-r--r--Library/Formula/coreutils.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/coreutils.rb b/Library/Formula/coreutils.rb
index 30493319f..f3ed96940 100644
--- a/Library/Formula/coreutils.rb
+++ b/Library/Formula/coreutils.rb
@@ -17,6 +17,8 @@ class Coreutils < Formula
mirror 'http://ftp.gnu.org/gnu/coreutils/coreutils-8.15.tar.xz'
sha256 '837eb377414eae463fee17d0f77e6d76bed79b87bc97ef0c23887710107fd49c'
+ depends_on 'xz' => :build
+
def install
system "./configure", "--prefix=#{prefix}", "--program-prefix=g"
system "make install"