Commit Graph
21162 Commits
Author SHA1 Message Date
Max Howell 8f95b3f9db nclt clamav works 2012-08-31 15:25:15 -04:00
Max Howell 7f31785d7a Fix superenv libgcrypt
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.
2012-08-31 15:25:14 -04:00
jnothman b6323bbfab Octave: fix compilation on 32 bit architectures
This fixes a bug where 32 bit compilations create spurious 'invalid assignment
to cs-list outside multiple assignment' errors in Octave. See Fink's similar
clause and discussion at
http://www.mail-archive.com/fink-beginners@lists.sourceforge.net/msg26536.html.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-31 11:26:08 -07:00
Max Howell 174e84b442 Set VERBOSE and HOMEBREW_LOG in brew sh 2012-08-31 14:12:28 -04:00
Max Howell eab09fc267 Cram GL headers and includes into superenv
Fixes #14554.

We justify doing this because pre 10.8 X11 came with GL for all Homebrew-capable systems and as such is a default that we'd prefer not to have to address.
2012-08-31 14:12:28 -04:00
Adam Anderson b6a924bff1 Varnish 3.0.3
Closes #14600.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-31 10:56:27 -07:00
nibbles 2bits 65ada2db0b sam2p 0.49.1
Upgrade sam2p to version 0.49.1.
Add `--disable-debug`
Add `fails_with :clang`
Works well with superenv.

Fixes #14592

Closes #14599.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-31 10:56:14 -07:00
Mike Fiedler 69c3bd22c4 aws-cfn-tools 1.0.10
Closes #14602.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-31 10:52:33 -07:00
Bradley M. Froehle d5b9168b83 Octave: Temporary SuiteSparse-4.x.x compatibility fix.
Avoids a missing "_SuiteSparse_time" symbol. See
http://savannah.gnu.org/bugs/?37031

Closes #14572.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-31 10:45:58 -07:00
Max Howell 3309109b48 Always make fuss
It's only visible if you specify -v or builds fail, so let's help people to diagnose superenv issues.
2012-08-31 13:29:46 -04:00
Max Howell 43608eb163 Remove -fopenmp, fix pixman
Possibly this is not wise, but with -fopenmp -lgomp is automatically added by the toolchain, and I didn't have -lgomp.

Ideally we'd detect when this will work and then leave it in there.

/cc @sharpie @mikemcquaid @jacknagel
2012-08-31 13:29:46 -04:00
Max Howell b644ed4f59 Fixes #14594; superenv recursively finds X11 req 2012-08-31 13:29:46 -04:00
Max Howell 49ccb55af0 superenv fix for broken 10.8 apr-1-config
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.
2012-08-31 13:29:45 -04:00
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