This started happening because I undefined CC. Now a lot of tools pick gcc. The problem here is that we add to cflags before configure, and during configure we are 'servile' so when configure uses gcc it *is* llvm-gcc and not clang, which we will be during make because then we are *not* servile.
So we have to assign these cflags during make only, which is easy enough. Code is neater now too.
I am now working on superenv so that it can determine if a tool cannot use certain flags and then pick another. The last stage of always-just-works.
Upgrade sam2p to version 0.49.1.
Add `--disable-debug`
Add `fails_with :clang`
Works well with superenv.
FixesHomebrew/homebrew#14592ClosesHomebrew/homebrew#14599.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
serf requires you to explicitly tell it where to find the supertool because otherwise it has a hardcoded /usr/bin/apr-1-config (:P), ctail however is sensible and searches the PATH so now it's as though we do nothing special in that formula. Nice.
gs-9.06 is designed to build with only `:libpng` these days, but it
fails to compile with superenv unless we specify that we don't
want to build with X11.
* Remove the `ENV['LIBS'] = some/X11/path`
* Add `--without-x` to fix a build error.
FixesHomebrew/homebrew#14564ClosesHomebrew/homebrew#14596.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
So the CC= in the Makefile is overridden by the $CC setting. I considered doing this generally, but as it stands we keep most of the user's environment in both superenv and stdenv so it's too risky. But I wanted to commit one example of it at least.
This patch removes most of the settings for CC, CXX etc. because we are trying to be minimal. Then we force the compiler to Homebrew's choice underneath in superenv. We however leave LD because we prefer that build-systems use the c-compiler for linking, it generally works better (copiously tested), however when the build-system explicitly calls ld, we respect that. This gets around the ocaml bug in question, since somehow clang was crashing during link, but the ld tool itself (which is kind of clang, kind of llvm-gcc) is okay with this.
Also moved the setting of O (so that cc-args are refurbished) into a make wrapper. Not sure if this matter much, but seems more consistent.
Upgrade open-scene-graph to version 3.1.2.
Remove that patch that is merged into this version.
Add a `--docs` option. Don't build them by default.
Add deps on doxygen and graphviz if building docs.
Install the docs into the correct path.
Add a dep on gnuplot.
Add a dep on gtkglext.
Add an option to build ffmpeg support. It is off by default.
Make the ffmpeg dep conditional on the option.
Use inreplace to turn off ffmpeg rather than 10 CMake vars.
Actually build the docs using `make doc_openscenegraph` if asked.
Remove the `fails_with` because it works now.
Add a patch to fix a syntax error during `cmake`, missing OR.
Change to 10.7 specific cmake code to `10.7 or 10.8`.
Reported upstream and noted removal date in comments.
Tested on ML using clang and llvm from XCode-4.4.1.
FixesHomebrew/homebrew#13840ClosesHomebrew/homebrew#14563.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
mkvtoolnix uses #define foreach BOOST_FOREACH, which breaks the build
due to an issue with header file ordering. Boost 1.49 was patched
to avoid this issue, but the patch was removed in 1.50, so the mkvtoolnix
build must provide a workaround.
See: https://svn.boost.org/trac/boost/ticket/6131ClosesHomebrew/homebrew#14568.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
xcwoclt doesn't have /usr/bin/ar, and superenv ensures that PATHs are in a good order so that our tools are used.
std-env may break… but I can fix this by massaging std-env's paths. I want to keep std-env around. It's the traditional route.
abcMIDI is a package of programs developed by James Allwright for
processing ABC music notation files. It consists of several programs:
abc2midi, abc2abc, yaps, and midi2abc.
ClosesHomebrew/homebrew#12928.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Miredo is an open-source implementation of the Teredo
transitional IPV6 tunneling package. The recipe Includes a
patch to include a usable default configuration for OS X and
fix an upstream compilation issue on OS X. The compile fix
should be unnecessary upon the next upstream release.
ClosesHomebrew/homebrew#12673.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
SEC is a tool for accomplishing event correlation tasks in the domains of
log analysis, system monitoring, network and security management, etc.
ClosesHomebrew/homebrew#11892.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>