aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2012-09-02bsdmake is *not* provided by Xcode/CLTMax Howell
Fixes Homebrew/homebrew#14626. Also make proctools install do prefixes other than /usr/local.
2012-09-01Add mig tool to superenvMax Howell
Necessary because it otherwise calls actual cc after it does whatever it does. So we force it to call our cc.
2012-09-01Fix the name because adamv doesn't know what he's doing.Adam Vandenberg
2012-09-01bless alanthing/homebrew-apachemodAdam Vandenberg
Add external tap to default search path, and recommend it for packaging Apache Modules.
2012-09-01`brew list -v` means verbose, not versionsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-01Update build failure message.Adam Vandenberg
Have been seeing reports with only the config.log, so change this message.
2012-09-01Blacklist graphviz: don't use superenvMax Howell
Mysterious link errors due to two missing symbols are too mysterious for me. For now, blacklist. Fixes Homebrew/homebrew#14566.
2012-08-31Hack so that ENV['CFLAGS'] += "foo" always worksMax Howell
So many formula assume CFLAGS etc. are not nil. One fix would be to set them to "" but this would set them in the environment, and that could have consequences for build-scripts. This hack works but with a (hopefully) small caveat. Fixes Homebrew/homebrew#14580.
2012-08-31superenv wrappers for c89 and c99Max Howell
Fixes Homebrew/homebrew#14584.
2012-08-31`brew -c1` one line configuration summaryMax Howell
At your option: `brew --config -1`.
2012-08-31Set VERBOSE and HOMEBREW_LOG in `brew sh`Max Howell
2012-08-31Cram GL headers and includes into superenvMax Howell
Fixes Homebrew/homebrew#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-31Always make fussMax Howell
It's only visible if you specify -v or builds fail, so let's help people to diagnose superenv issues.
2012-08-31Remove -fopenmp, fix pixmanMax Howell
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-31Fixes Homebrew/homebrew#14594; superenv recursively finds X11 reqMax Howell
2012-08-31superenv fix for broken 10.8 apr-1-configMax Howell
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-31Raise if sdk_path is nil for ncltMax Howell
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-31Set VERBOSE if --verboseMax Howell
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-31Refs Homebrew/homebrew#14558. Try to find tools when xcrun fails.Max Howell
2012-08-31Remove plain "-O"Max Howell
2012-08-31Doctor check for unlicensed XcodeMax Howell
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 Homebrew/homebrew#14558.
2012-08-31MacOS.sdk_path is unlicensed Xcode awareMax Howell
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 Homebrew/homebrew#14558.
2012-08-31`brew --env` puts HOMEBREW_SDKROOTMax Howell
2012-08-31Consider superenv “servile” during configureMax Howell
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-31Revert the user-PATH fixMax Howell
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-31More brew irb examplesMax Howell
2012-08-31Hide --disable-debug from non verbose output alsoMax Howell
2012-08-30String.f convenience function for brew irbMax Howell
eg. "ack".f
2012-08-30Simplify `brew outdated` even furtherJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-30Fixes Homebrew/homebrew#14542; ocaml superenv issuesMax Howell
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-30superenv: look for pc files under prefix, not repositoryJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-30Work for users who delete /usr/bin/rubyMax Howell
Some people do insane things and are then surprised things break. Fixes Homebrew/homebrew#14546.
2012-08-30Put user's PATHs at end of superenv PATHMax Howell
Making sure to remove X11, should be safe if this order is kept. Refs Homebrew/homebrew#14519. Fixes Homebrew/homebrew#14544.
2012-08-30tests: avoid unnecessary chdirJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29Some flags must be specified -Wl,fooMax Howell
Finishes fixing qrupdate. And maybe others.
2012-08-29Don't catch build errorsMax Howell
2012-08-29Block form of chdir can only be used onceMax Howell
If you nest them, the library complains. So let's not do that. /cc @jacknagel
2012-08-29Force Wine to use stdenv for nowMax Howell
Fixes Homebrew/homebrew#14535.
2012-08-29tests: support "rake rcov" if rcov is installedJack Nagel
If the rcov gem is installed, `rake rcov` will generate a test coverage report in the coverage directory. I picked rcov because it is 1.8 compatible. But it could easily be swapped out for another coverage tool. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29tests: adjust expectations for 'opt' directoryJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29Display skip-clean warning only before cleanMax Howell
Not anytime the formula loads.
2012-08-29Warn about removed warnings less shockinglyMax Howell
The problem here now is though that the warnings only appear when compiling verbosely. But they should thus be visible if the build fails. Or if people are hunting for problems.
2012-08-29Fixes Homebrew/homebrew#14528; undefined vars.Max Howell
Due to copy/pasta.
2012-08-29TypoMax Howell
Not sure how I forgot to test that.
2012-08-29Don't fail pre-Xcode 4.3Max Howell
Refs Homebrew/homebrew#14392.
2012-08-29Use fortran from std-env in superenvMax Howell
Fixes Homebrew/homebrew#14524.
2012-08-29Deprecate skip_clean :allMax Howell
This was mostly used to prevent stripping. Now we don't strip. Force formula to remove this setting or be more specific about folders they don't want pruned.
2012-08-29Homebrew 0.9.3 for superenv0.9.3Adam Vandenberg
2012-08-29`brew sh`: a shell with superenv loadedMax Howell
If you need to build software on OS X by hand, a brew shell is the way to do it. Closes Homebrew/homebrew#14381.
2012-08-29superenv only adds X11 paths if requiredMax Howell
Since we are moving towards only depending on X11 for X-headers, superenv now doesn't automatically add X11 compilation. I was reluctant to do this, but it is the right thing to do now that X11 is not automatically installed by OS X or Xcode. I didn't implement ENV.x11 because the order that the X headers are inserted is important. It must be done at initial setup to ensure that brewed versions of e.g. freetype and Cairo are used and not the ones installed by XQuartz.