From 454cd280c4f2ba2177fd6bc53e809d53640a733d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 19 Mar 2014 12:07:50 -0500 Subject: gearman: use patch DSL --- Library/Formula/gearman.rb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3