From d4f4e762faf077133ef79ca068c5cbcc499bcf97 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 20 Mar 2014 14:05:18 -0500 Subject: pyqt: use patch DSL --- Library/Formula/pyqt.rb | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'Library') diff --git a/Library/Formula/pyqt.rb b/Library/Formula/pyqt.rb index 8e7021997..067542a10 100644 --- a/Library/Formula/pyqt.rb +++ b/Library/Formula/pyqt.rb @@ -20,15 +20,13 @@ class Pyqt < Formula depends_on "sip" end - def patches - # On Mavericks we want to target libc++, but this requires a user specified - # qmake makespec. Unfortunately user specified makespecs are broken in the - # configure.py script, so we have to fix the makespec path handling logic. - # Also qmake spec macro parsing does not properly handle inline comments, - # which can result in ignored build flags when they are concatenated together. - # Changes proposed upstream: http://www.riverbankcomputing.com/pipermail/pyqt/2013-December/033537.html - DATA - end + # On Mavericks we want to target libc++, but this requires a user specified + # qmake makespec. Unfortunately user specified makespecs are broken in the + # configure.py script, so we have to fix the makespec path handling logic. + # Also qmake spec macro parsing does not properly handle inline comments, + # which can result in ignored build flags when they are concatenated together. + # Changes proposed upstream: http://www.riverbankcomputing.com/pipermail/pyqt/2013-December/033537.html + patch :DATA def install # On Mavericks we want to target libc++, this requires a non default qt makespec -- cgit v1.2.3