aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-17 22:44:49 -0500
committerJack Nagel2014-03-17 22:47:06 -0500
commit9abaf9bb52d6823b28d4c3181bf475e4681d5554 (patch)
treeae98fbc8cd30bae246502efa316f94005e3181cb /Library/Formula
parent9756bed60aa97d78565590b446ec0b00dcfb7fef (diff)
downloadhomebrew-9abaf9bb52d6823b28d4c3181bf475e4681d5554.tar.bz2
automoc4: use patch DSL
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/automoc4.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/automoc4.rb b/Library/Formula/automoc4.rb
index 949be6919..f877d7b8a 100644
--- a/Library/Formula/automoc4.rb
+++ b/Library/Formula/automoc4.rb
@@ -8,12 +8,10 @@ class Automoc4 < Formula
depends_on 'cmake' => :build
depends_on 'qt'
- def patches
- # Patch needed to find Qt in Homebrew upstreamed but upstream version
- # does not apply. Won't be needed for next version.
- # https://projects.kde.org/projects/kdesupport/automoc/repository/revisions/6b9597ff
- { :p0 => DATA }
- end
+ # Patch needed to find Qt in Homebrew upstreamed but upstream version
+ # does not apply. Won't be needed for next version.
+ # https://projects.kde.org/projects/kdesupport/automoc/repository/revisions/6b9597ff
+ patch :p0, :DATA
def install
system "cmake", ".", *std_cmake_args