diff options
| author | Jack Nagel | 2014-03-19 12:07:50 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-19 12:07:50 -0500 |
| commit | 454cd280c4f2ba2177fd6bc53e809d53640a733d (patch) | |
| tree | 6856818c3678767cb2e7c57d85640295271c0996 /Library | |
| parent | e1f16d9b67a0863141481b38c35c1a5aec7e8afa (diff) | |
| download | homebrew-454cd280c4f2ba2177fd6bc53e809d53640a733d.tar.bz2 | |
gearman: use patch DSL
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gearman.rb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/gearman.rb b/Library/Formula/gearman.rb index 5d53cab2c..018654e6e 100644 --- a/Library/Formula/gearman.rb +++ b/Library/Formula/gearman.rb @@ -15,6 +15,11 @@ class Gearman < Formula depends_on :mysql => :optional depends_on :postgresql => :optional + # build fix for tr1 -> std + # Fixes have also been applied upstream + patch :DATA if MacOS.version >= :mavericks + + def install args = ["--prefix=#{prefix}"] args << "--without-mysql" if build.without? 'mysql' @@ -26,13 +31,6 @@ class Gearman < Formula system "make install" end - def patches - # build fix for tr1 -> std - # Fixes have also been applied upstream - DATA if MacOS.version >= :mavericks - end - - plist_options :manual => "gearmand -d" def plist; <<-EOS.undent |
