aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-03-20 14:05:18 -0500
committerJack Nagel2014-03-20 21:44:12 -0500
commita8b663f3cff343b0af07609eb18bc38740001045 (patch)
tree998de0dbd7ad7b6984656f0bb58f953d87c0d7fe
parentd4f4e762faf077133ef79ca068c5cbcc499bcf97 (diff)
downloadhomebrew-a8b663f3cff343b0af07609eb18bc38740001045.tar.bz2
pyqwt: use patch DSL
-rw-r--r--Library/Formula/pyqwt.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/Library/Formula/pyqwt.rb b/Library/Formula/pyqwt.rb
index a8a5ae59d..1a1313d8f 100644
--- a/Library/Formula/pyqwt.rb
+++ b/Library/Formula/pyqwt.rb
@@ -11,11 +11,8 @@ class Pyqwt < Formula
depends_on 'sip'
depends_on 'pyqt'
- def patches
- # Patch to build system to allow for specific
- # installation directories.
- { :p0 => DATA }
- end
+ # Patch to build system to allow for specific installation directories.
+ patch :p0, :DATA
def install
cd "configure" do