Commit Graph
20799 Commits
Author SHA1 Message Date
nibbles 2bits 3e084bf307 ghostscript: add --without-x
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.

Fixes #14564

Closes #14596.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-08-31 12:04:02 -05:00
Justin Clift 346a4a665e libvirt 0.10.1
Closes #14595.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-31 08:56:40 -07:00
Brad Ackerman f432dfd26f SIMH 3.9 won't compile w/o deparallelize; also added --HEAD
Closes #14583.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-31 08:51:20 -07:00
Adam Vandenberg e5a5e79b6e groonga: add missing deps
Closes #14588.
2012-08-31 08:50:17 -07:00
Max Howell 3a637c2a92 Raise if sdk_path is nil for nclt
This situation should be impossible now (in that, we should detect sdk_path provided we also detected nclt), so if it happens somehow raise in such a way that the user will be encouraged to report the bug.
2012-08-31 10:27:07 -04:00
Max Howell 1c7e060c66 Set VERBOSE if --verbose
You tend to get more useful build output this way, and (more importantly?), superenv itself only outputs certain things if VERBOSE is set.
2012-08-31 10:22:11 -04:00
Max Howell 4dbce44218 Refs #14558. Try to find tools when xcrun fails. 2012-08-31 10:22:11 -04:00
Max Howell 0cf83d1849 Remove plain "-O" 2012-08-31 10:22:11 -04:00
Max Howell d414d9b613 Doctor check for unlicensed Xcode
Checking the license text is probably the most future proofed method. Though for future reference other possible methods are listed in the below ticket.

Closes #14558.
2012-08-31 10:22:11 -04:00
Max Howell bbe75d3efb MacOS.sdk_path is unlicensed Xcode aware
Now we should get an sdk_path, but tools like xcodebuild, xcode-select and xcrun will still error out. But at least more of Homebrew will work.

Also putting the Xcode 3 path finder last. We get bug reports because newer Xcodes are installed in parallel to older Xcodes. We want to find and use the newer Xcode's first. Xcode.prefix is pretty smart about that.

Refs #14558.
2012-08-31 10:22:11 -04:00
Max Howell c4d95a0934 brew --env puts HOMEBREW_SDKROOT 2012-08-31 10:22:10 -04:00
Max Howell 470c44dfa8 Consider superenv “servile” during configure
superenv defaults to servile mode. In servile mode:

* If 'gcc' is called, then 'gcc' is run (we ignore HOMEBREW_CC)
* CFLAGS (optimizations) are not applied
* ARGV is not mangled (TODO though we should apply fixes)
* -I and -L environment is still forcibly inserted.

This fixes, eg. jack which was still broken with stdenv. Jack was broken because we set CC in stdenv, and Jack has a stupid build-system. Unsetting CC allowed Jack to find and use the gcc tool it so demanded, but (previously) we would then substitute clang under its nose. The configure still failed. In servile mode (llvm-)gcc is used and Jack compiles.

In normal circumstances clang would then be inserted again during the make phase. But Jack uses the niche-wag build tool that we don't support for setting the O HOMEBREW_CCCFG flag that disables servile mode.
2012-08-31 10:22:10 -04:00
Max Howell d4674292f0 make -e has env-vars override Makefile vars
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.
2012-08-31 10:22:10 -04:00
Max Howell 3c274e2ad0 Revert the user-PATH fix
User paths might have anything in them, anything can break builds.

Instead special case these two formula with the view to having an eventual DSL to allow injection of user paths into superenv. Certainly defaulting to off.
2012-08-31 10:22:10 -04:00
Max Howell 08a58ea38a More brew irb examples 2012-08-31 10:22:10 -04:00
Max Howell 5800e5439b Hide --disable-debug from non verbose output also 2012-08-31 10:22:09 -04:00
Matthias Schmidt 8430326224 webp 0.2.0
Closes #14593.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-31 06:46:43 -07:00
Gijs Molenaar a0002eff80 monetdb depends on pkg-config
Closes #14578.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 22:13:33 -07:00
Shawn Jonnet dbb263a661 redis 2.4.17
Closes #14586.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 21:41:04 -07:00
Adam Vandenberg 7142458f17 samba 3.6.7 2012-08-30 21:06:36 -07:00
Max Howell 0e15844d18 String.f convenience function for brew irb
eg. "ack".f
2012-08-30 22:54:45 -04:00
Jack Nagel f7b4ce056e Simplify brew outdated even further
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-30 20:39:46 -05:00
Sergey Avseyev 16d6406b8d libcouchbase 1.0.6
Closes #14581.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 18:07:48 -07:00
Max Howell 7aa496efed Fixes #14542; ocaml superenv issues
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.
2012-08-30 20:02:29 -04:00
Max Howell b41ba217b1 Fixes #14571; clisp superenv issue 2012-08-30 20:02:28 -04:00
Jack Nagel 9e5e43ba6e superenv: look for pc files under prefix, not repository
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-30 16:08:24 -05:00
nibbles 2bits 72bbc8b0c7 open-scene-graph 3.1.2
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.

Fixes #13840

Closes #14563.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 13:31:36 -07:00
dinkypumpkin 051f9421ba mkvtoolnix: patch to build with #define foreach BOOST_FOREACH
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/6131

Closes #14568.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 13:30:00 -07:00
Adam Vandenberg bde601af38 opencolorio: use new dsl 2012-08-30 12:54:27 -07:00
Adam Vandenberg 15c23a5c97 ngspice: add X11 dep 2012-08-30 12:50:28 -07:00
Adam Vandenberg 7f6ab8632e hiredis 0.11.0 2012-08-30 12:42:09 -07:00
Matt Whiteley 77e920049d go-app-engine 1.7.1
Closes #14560.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 10:16:43 -07:00
Adam Vandenberg 2edb06b823 gambit-scheme: use new dsl 2012-08-30 09:09:48 -07:00
Shaun Jackman 20a395e4a1 sga 0.9.19
Closes #12862.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 08:50:28 -07:00
Adam Vandenberg 7307516997 bamtools 1.0.2
Restores needed whitespace to patches

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 08:47:03 -07:00
Adam Vandenberg e9b63779fe macvim: fix audit warnings 2012-08-30 08:44:32 -07:00
Jack Nagel 7676f2c4cc ffmpegthumbnailer 2.0.8
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-30 10:30:43 -05:00
Brice Dutheil 251ff3ceb5 drip 0.0.3
Closes #14520.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 07:17:41 -07:00
neersighted 08df701bff THC Hydra 7.3
Closes #14548.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 07:16:10 -07:00
Ankit a4ce66c9f0 node: use https url for npm
Closes #14552.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 07:10:55 -07:00
Max Howell d706eace56 Work for users who delete /usr/bin/ruby
Some people do insane things and are then surprised things break.

Fixes #14546.
2012-08-30 09:55:33 -04:00
Max Howell 313423d8ee Put user's PATHs at end of superenv PATH
Making sure to remove X11, should be safe if this order is kept.

Refs #14519.
Fixes #14544.
2012-08-30 09:45:33 -04:00
Jack Nagel 4197a4872d tests: avoid unnecessary chdir
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-30 00:10:02 -05:00
Max Howell 0481473163 Some flags must be specified -Wl,foo
Finishes fixing qrupdate. And maybe others.
2012-08-29 22:43:52 -04:00
Max Howell 28d795032a Don't catch build errors 2012-08-29 22:25:29 -04:00
Max Howell 7a95865ecb Fix qrupdate FCFLAGS if nil 2012-08-29 21:42:24 -04:00
Max Howell 744031b4af Block form of chdir can only be used once
If you nest them, the library complains. So let's not do that.

/cc @jacknagel
2012-08-29 19:49:11 -04:00
Max Howell e729885ea1 Force Wine to use stdenv for now
Fixes #14535.
2012-08-29 19:49:10 -04:00
Jack Nagel 7b32e1c771 plt-racket: use github tarball instead of git tag
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 17:48:13 -05:00
Jack Nagel 727eb7afbd mplayer: add option for X11 support
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29 16:55:34 -05:00