diff options
| author | Mike McQuaid | 2012-04-15 08:49:03 +1000 |
|---|---|---|
| committer | Mike McQuaid | 2012-04-16 16:46:39 +1000 |
| commit | 58a8dc32944edfa0702fec84a84fb433256d0a89 (patch) | |
| tree | 62754ea277196df53eeeb060a240e590e607870b /Library/Formula | |
| parent | c2da6988796837b1ab4a6c6e322052c815d75982 (diff) | |
| download | homebrew-58a8dc32944edfa0702fec84a84fb433256d0a89.tar.bz2 | |
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
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/qt.rb | 7 |
1 files changed, 5 insertions, 2 deletions
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 |
