From 58a8dc32944edfa0702fec84a84fb433256d0a89 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 15 Apr 2012 08:49:03 +1000 Subject: Fix Qt installation warnings. PRL files are necessary in lib so whitelist them. Debian installs them too: http://packages.debian.org/squeeze/amd64/libqt4-dev/filelist --- Library/Formula/qt.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb index 2b4562ebd..313fb99a6 100644 --- a/Library/Formula/qt.rb +++ b/Library/Formula/qt.rb @@ -94,9 +94,8 @@ class Qt < Formula # Some config scripts will only find Qt in a "Frameworks" folder # VirtualBox is an example of where this is needed # See: https://github.com/mxcl/homebrew/issues/issue/745 - # TODO - surely this link can be made without the `cd` cd prefix do - ln_s lib, "Frameworks" + ln_s lib, prefix + "Frameworks" end # The pkg-config files installed suggest that headers can be found in the @@ -106,6 +105,10 @@ class Qt < Formula framework_name = File.basename(File.dirname(path), '.framework') ln_s path.realpath, include+framework_name end + + Pathname.glob(bin + '*.app').each do |path| + mv path, prefix + end end def test -- cgit v1.2.3