automoc4: use patch DSL

master
Jack Nagel 2014-03-17 22:44:49 -05:00
parent 32c8248592
commit 762c800123
1 changed files with 4 additions and 6 deletions

View File

@ -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 :p0, :DATA
def install
system "cmake", ".", *std_cmake_args