Upgrade qhull to version 2012.1
Adjust the patch for this version and put it inline.
Patch doesn't need to remove `user_eg user_eg2 user_eg3` anymore
because the test programs are not built by default.
Remove the CMake variable to adjust the man page location which
it gets correct now.
Put the source directory last on the `cmake` command line.
Tested on Lion using clang and llvm from XCode-4.3.3 by using
the examples provided in the `qhull` usage.
ClosesHomebrew/homebrew#12911.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
When interpolating in strings passed to Formula#system, it should be
done in such a way that if any interpolated variables contain spaces,
they are either (a) passed as part of a list or (b) protected by quotes
if they are part of a long string (which is subject to shell expansion).
Otherwise, they will be split on the space when expanded by the shell
and passed as multiple arguments to whatever process is being executed.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Qhull is a mathematical library used by Octave. This formula installs all components into the correct locations, including the libraries and headers, so that Octave can use it.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>