pyside: use opt path for qt

Fixes Homebrew/homebrew#43805.

Closes Homebrew/homebrew#44392.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
This commit is contained in:
Tim D. Smith 2015-09-27 16:30:56 -07:00
parent 832be821c1
commit 99849c31d9

View file

@ -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