aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2012-09-13Support c99/c89 compiles properlyMax Howell
We can't really execute c89/99 explicitly as these POSIX compliant tools support very few args. Best to execute clang or gcc with the --std=cx9 argument appended. Fixes Homebrew/homebrew#14724.
2012-09-13Look harder for bsdmake Max Howell
bsdmake used to be keg-only, so some users still have it unlinked (presumably they never run brew-doctor). Even though there is code to abort if dependencies are unlinked, it appears broken for this case. So let's just be thorough anyway. Closes Homebrew/homebrew#14751.
2012-09-13--prefix: don't use opt prefix if it doesn't existMisty De Meo
2012-09-13doctor: Add check for stray pre-4.3 Xcode filesMisty De Meo
/Developer/Library shouldn't exist if all the remnants of old Xcode versions have been uninstalled, and tends to cause problems if it's kept alongside modern Xcode. "uninstall-developer-folder" should only remove /Developer/Library.
2012-09-13edit: create project view with subl, tooMisty De Meo
Sublime Text's subl tool supports lovely project views just the same as TextMate. Since I use Sublime, I want good support from `brew edit` too. :P
2012-09-13Add skip_clean :all to auditAdam Vandenberg
2012-09-13Auctex needs user path; Fixes Homebrew/homebrew#14699Max Howell
2012-09-13Apply userpaths after superenv-setupMax Howell
Fixes Homebrew/homebrew#14701. Stupid mistake.
2012-09-13Fixes universal builds; Fixes Homebrew/homebrew#14845Max Howell
2012-09-12Use opt prefix for --prefixMax Howell
Rationale: everyone thinks it points to the currently installed prefix, not the prefix of the formula that is newest and maybe not installed. The previous behavior was unintentional and evidence proves it is not intuitive either. I anticipate no regressions. And hope I am right!
2012-09-11patches.rb: Generalize File recognitionCharlie Sharpsteen
Extend patch case statements for files to objects inheriting from `IO`, which includes `File`, or `StringIO` which is used by the external command `brew-unpack` to store `DATA` sections loaded from Formula files.
2012-09-11Remove dead codeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11test: be less eager to set up the build environmentJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11cleanup: skip rm_DS_Store during a dry runJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11cleanup: allow --force to remove keg-only brews againJack Nagel
Fixes Homebrew/homebrew#14840. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11Tighten post-install checksJack Nagel
- Avoid ENOTDIR by ensuring that the directories we are checking are actually directories. - DRY up the check_PATH method; paths are already available via the global ORIGINAL_PATHS. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10Clarify that brew does not provide XQuartzCharlie Sharpsteen
Reword the `X11Dependency` error message so that it is clear that an installer must be downloaded. Ref Homebrew/homebrew#14851.
2012-09-10Audit check for old MacOS version methodsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10Add deprecation warning to non-DSL fails_with_llvmJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10Clean up MacOS version method usageJack Nagel
The MacOS.version? family of methods (other than "leopard?") are poorly defined and lead to confusing code. Replace them in formulae with more explicit comparisons. "MacOS.version" is a special version object that can be compared to numerics, symbols, and strings using the standard Ruby comparison methods. The old methods were moved to compat when the version comparison code was merged, and they must remain there "forever", but they should not be used in new code. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-09Fix code that chmods metafilesAdam Vandenberg
2012-09-09Install plists by defaultAdam Vandenberg
2012-09-09allow skip_clean :laAdam Vandenberg
2012-09-09linkapp: create Finder aliasesOri Peleg
Symlinks to apps don't play well with Spotlight, but Finder alises do, so let's create them instead. Closes Homebrew/homebrew#14821. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-06audit: allow some forms of gist patchesJack Nagel
The problem is not the raw URLs, but URLs that do not contain the commit hash corresponding to a particular version of the gist. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-06Remove dead codeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-06Don't raise when expanding ORIGINAL_PATHSJack Nagel
File.expand_path raises ArgumentError when it is passed a path with a nonexistent username, e.g.: $ PATH=~foo/bin:$PATH brew /usr/local/Library/Homebrew/global.rb:97:in `expand_path': user foo doesn't exist (ArgumentError) However, `brew doctor` does its own expansion of PATH entries and outputs warnings if this happens, so let's just ignore it here and continue on our way. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-06doctor: ignore case when checking PATH for config scriptsJack Nagel
Fixes Homebrew/homebrew#14752. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-05Remove fink/macports from verbose --config if they are not present.Adam Vandenberg
2012-09-05audit: swig is a build time depAdam Vandenberg
2012-09-05ENV: put X11 aclocal dir in ACLOCAL_PATH when appropriateJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-05Improve `brew --config` responsivenessJack Nagel
Rather than build the whole output in a string, print each item as we go. This gives the illusion of improved responsiveness by delaying the expensive method calls until after the faster output. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-04Audit check for MACOS_VERSIONJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-04Fix bad install names in executablesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-04Exempt automake from some auditsAdam Vandenberg
2012-09-03brew-aspell-dictionaries: handle mirrorsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03Sort out remaining XQuartz/stdenv issuesJack Nagel
We use PKG_CONFIG_LIBDIR to reset the default search path, overriding whatever is baked into the pkg-config executable. This way, we can later append XQuartz paths here while still allowing any brewed libs to take precedence, keg-only or not. Hopefully this will resolve any remaining issues, and let us get rid of some per-formula hacks. c.f. Homebrew/homebrew#14474. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03ENV: update commentJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03add audit for ENV.x11Adam Vandenberg
2012-09-03Stop warning in ENV.x11Jack Nagel
It has been long enough since `depends_on :x11` was introduced that we can make it the caller's responsibility to ensure X11 is present before invoking ENV.x11, so stop outputting a warning. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03brew-aspell-dictionaries - generate aspell formulaeAlexis Hildebrandt
This script fetches the current list of aspell dictionaries from the gnu server and generates formulae that can then be included into the aspell formula. This makes updating current dictionaries and adding new ones easier. Tweaked by Mike to generate SHA1s instead of MD5s. Closes Homebrew/homebrew#12180. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-09-03Fix typo in MacOS.sdk_pathJack Nagel
/cc @adamv Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03Actually cache Xcode.version if nilMax Howell
2012-09-03Don't error out with Xcode 4.5Jack Nagel
c.f. Homebrew/homebrew#14603. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03superenv: More thorough scrubbing of -I & -L argsMax Howell
It's important that -I is scrubbed thoroughly as we add most of our important paths with -isystem and -I is handled *first*. NOTE this indicates we should probably have used -I rather than -isystem, but too late to test all that now. Also scrub -L for bad-paths thoroughly (evaluate realpath).
2012-09-03Put X11 last in the libpath and cpathMax Howell
It was after HOMEBREW_PREFIX but not after everything else too.
2012-09-03Fix linking against X11 cairo in preference to oursMax Howell
Amateur mistake where I forgot that the system library path is read AFTER the -L library path, so /usr/local/lib was after /opt/X11/lib and the wrong cairo was used. This only affects CLT /usr/local installs with XQuartz installed. Fixes Homebrew/homebrew#14639.
2012-09-03Set CC and CXX with superenv (again)Max Howell
It was dumb to have make call different compilers to configure depending on the `servile?` flag. This is not a route to reliability. Instead now we set CC (formula that break if CC is set like Jack be damned, their build-systems are just plain broken and should not be supported). When cc is called we examine HOMEBREW_CC, otherwise we instantiate the tool that was called, just like the formula's build-system will expect. Fixes Homebrew/homebrew#14659 (though the build fails later for me, with the same error for stdenv and superenv).
2012-09-03Add NCLT SDK apache include directory to superenvMax Howell
Fixes subversion compile issues for NCLT configurations with superenv, stdenv still broken (tough).
2012-09-03Undent doesn't like paragraphingMax Howell