diff options
| author | Mike McQuaid | 2011-01-16 15:21:42 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2011-01-16 15:25:51 +0000 |
| commit | 85c23531bd2544c27403dd093a57f82950a78307 (patch) | |
| tree | 8d3272fbd2bd7b906c8ebbaf9fe4acd48cc4b4c1 /Library | |
| parent | bbf04fd417072c53810c2e4163f2bdd80f23ef83 (diff) | |
| download | homebrew-85c23531bd2544c27403dd093a57f82950a78307.tar.bz2 | |
Default to using 'g' program prefix.
OSX already has findutils so we don't want to shadow them by default.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/findutils.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Formula/findutils.rb b/Library/Formula/findutils.rb index 329ebc9a1..6d771b012 100644 --- a/Library/Formula/findutils.rb +++ b/Library/Formula/findutils.rb @@ -5,8 +5,15 @@ class Findutils <Formula homepage 'http://www.gnu.org/software/findutils/' md5 '351cc4adb07d54877fa15f75fb77d39f' + def options + [['--default-names', "Do NOT prepend 'g' to the binary; will override system utils."]] + end + def install - system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + args = ["--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"] + args << "--program-prefix=g" unless ARGV.include? '--default-names' + + system "./configure", *args system "make install" end end |
