Two patches are applied:
- Since glog has not yet released a a version 0.3.4, we manually apply a
a patch that mirrors the following changeset:
https://code.google.com/p/google-glog/source/detail?r=134
This patch cleans up the way of determining which logging includes
need to be included (prefixed, etc).
- A patch making sure we are only including tr1 prefixed stuff
and slist on when using libc++.
The first patch can likely be removed when upstream releases a new
version.
Upstream is aware of the second issue:
https://code.google.com/p/google-glog/issues/detail?id=121Closes#23506.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
On Mavericks we need to explicitly include AvailabilityMacros.h to have
the version detection macros defined.
Fix 10.9 ruby framework detection and compilation
Mavericks ships with version 1.8 and 2.0 of the Ruby.framework, so we
must directly link the framework version matching the ruby-command.
This also means that ruby.h must no longer included via the framework
name, which has the nice side effect of allowing you to compile with
non-framework rubies, if you remove the formula's hardcoded RUBY_PATH.
For macvim-HEAD we use the current framework's ruby command because it
only works with that and is incompatible with our patches.
Closes#20473.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Declarations of dependencies, options, and resources in the DSL only
apply to specs that have already been initialized. For example, given
this snippet:
url ...
sha1 ...
depends_on 'foo'
devel do
url ...
sha1 ...
end
The dependency 'foo' will be recorded for the stable spec, but not the
devel spec, since it was not initialized prior to the call to
depends_on.
While it is considered best practice to declare all specs (stable,
devel, head, and bottle) prior to other declarations, there is nothing
that enforces this ordering, so when it happens it can be confusing and
hard to debug.
To prevent this, we can initialize all specs up front. This comes with
a performance penalty for commands that load all formulae into memory,
but that is probably outweighed by what we gain in correctness.
Fixes#23425.