Skip to content


Added symlink to includes for Qwt. #16309

wants to merge 1 commit into from

3 participants


Added an include directory pointing to the Headers in the framework.


Check out Pathname#install_symlink; maybe it can turn this into a oneliner?


FWIW, MacPorts puts these in an include/qwt subdir:


Closing due to no response

@jacknagel jacknagel closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 29, 2012
  1. @savardc
This page is out of date. Refresh to see the latest.
Showing with 11 additions and 0 deletions.
  1. +11 −0 Library/Formula/qwt.rb
11 Library/Formula/qwt.rb
@@ -15,6 +15,17 @@ def install
system "qmake -spec macx-g++ -config release"
system "make"
+ ENV.j1
system "make install"
+ # The pkg-config files installed suggest that headers can be found in the
+ # `include` directory. Make this so by creating symlinks from `include` to
+ # the Frameworks' Headers folders.
+ include.mkdir
+ Pathname.glob(lib + '*.framework/Headers').each do |path|
+ framework_name = File.basename(File.dirname(path), '.framework')
+ ln_s path.realpath, include+framework_name
+ end
Something went wrong with that request. Please try again.