From 99849c31d9db9ff4a7d914b1b684f52ce11885ca Mon Sep 17 00:00:00 2001 From: "Tim D. Smith" Date: Sun, 27 Sep 2015 16:30:56 -0700 Subject: [PATCH] pyside: use opt path for qt Fixes Homebrew/homebrew#43805. Closes Homebrew/homebrew#44392. Signed-off-by: Tim D. Smith --- Formula/pyside.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Formula/pyside.rb b/Formula/pyside.rb index 2f0253e95d..4300f8baf2 100644 --- a/Formula/pyside.rb +++ b/Formula/pyside.rb @@ -4,6 +4,7 @@ class Pyside < Formula url "https://download.qt.io/official_releases/pyside/pyside-qt4.8+1.2.2.tar.bz2" mirror "https://distfiles.macports.org/py-pyside/pyside-qt4.8+1.2.2.tar.bz2" sha256 "a1a9df746378efe52211f1a229f77571d1306fb72830bbf73f0d512ed9856ae1" + revision 1 head "https://github.com/PySide/PySide.git" @@ -68,6 +69,8 @@ class Pyside < Formula system "make", "install" end end + + inreplace include/"PySide/pyside_global.h", Formula["qt"].prefix, Formula["qt"].opt_prefix end test do