MacVim expects Ruby 1.8, but will pick up a Homebrewed ruby and fail to
compile. Force the use of System ruby.
Closes#13293.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
The PREFIX needs to be passed to make, since it gets baked into
the share path which is given as as a -D define to the compiler.
Also add caveats about configuration, and install the samples.
Fixes#8915.
Some programs fail where they would otherwise succeed if stdout or stderr is
closed. For example, using mpicc from the mpich2 formula:
quiet_system 'mpicc', '--version'
Fails with:
LLVM ERROR: IO failure on output stream.
While
system 'mpicc', '--version'
Succeeds.
Closes#13253.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Add an ARGV.dry_run? helper method for '--dry-run'/'-n' now that
'-n' is being used as a git-style dry-run in two commands.
Closes#12898.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
`brew link` can now be made to delete any conflicting files using
the --force argument. It also has a --dry-run option, similar to
git clean -n, which will list any files which would be deleted
without touching the filesystem.
Closes#11811.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Compiling against system Python does not work; a Homebrewed version
is currently required.
Suggest that users of the Python bindings add a `--python` option that
sets the proper configure flags.
Closes#13097.
SDK/usr/include and lib now appended instead of prepended.
Prepending overwrote our precedence of HOMEBREW_PREFIX/include and lib.
Closes#13292.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
As reported in 10422, gv would not compile on Lion and possibly SL
due to problems building Homebrew's `xaw3d`. That library is a
part of XQuartz now.
* Upgrade `gv` to version 3.7.3.90 from `alpha.gnu.org` because
this release is specifically fixed to support the new `libxawd`.
* Note in the comments to switch back to `ftp.gnu.org` at v3.7.4.
* Change the dep to a Requirement for XQuartz >= 2.7.2.
Fixes#10422 and #12596Closes#12637.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
When the first error pipe object is finalized, the underlying file
descriptor is closed, breaking the pipe between the build script and the
main Homebrew process. Keep a reference to this object so it isn't
closed.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
waf miscompiles py2cairo on Lion, linking the wrong Python Library when
HB Python is installed. So add a LINKFLAG that sets the path to the real
python Library as determined by `python-prefix`, where it gets used at
link time and fixes the problem where you can't import cairo into Python.
Also add a `fails_with :llvm` block to work around a build error where
waf tries to optimize with `-march=native` which llvm doesn't accept.
https://bugs.freedesktop.org/show_bug.cgi?id=51544
Tested on Lion and SL using system Python, HB framework Python,
HB non-framework Python with clang building both native and
universal binaries, by importing the cairo module into Python.
Rebased on Homebrew 0.9.2
Fixes#12893Closes#12943.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
pygtk-2.24.0 on Lion will not compile because it can't find
`<pango/pangocairo.h>. This occurs because pkgconfig has trouble
querying the pangocairo.pc module because it complains that a
required module, `fontconfig` can't be found and suggests adding
it's path to `PKG_CONFIG_PATH`. We know `fontconfig` is a part
of X11. So add `depends_on :x11` to the formula so that all the
pkgconfig modules can be located.
Tested by importing pygtk, importing cairo, and by running
`brew test -v pygtk` on Lion with clang and llvm from XCode-4.3.3.
Fixes#13205 and possibly #13256Closes#13257.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>