Undoing parts of the hot fix 78b9e8548e.
The only thing missing was to check for `system "/usr/bin/xcrun -find make 1>/dev/null 2>&1"`
and then it's safe to call locate.
This commit restores the original functionality but without the risk for recursion
and improves the logic of `MacOS.locate`. See below.
To important changes in this commit:
- For Xcode _and_ CLT: don't add the SDK and leave things as before.
So if `MacOS.clt_installed?`, then no `SDKROOT` and `-L` and `-I`
directories are set in `ENV.macosxsdk`.
- Improved the logic for `MacOS.locate` for Xcode-only situations
by assuring that the xcode-select path is correct. This is done
by checking that `bin/make` exists and is executable. Otherwise it
was possible to set xcode-select to an empty dir.
This check is done in `MacOS.sdk_path` too.
We are now able to use Xcode wherever it is and can work even, if
xcode-select is set to invalid values. (Remember some users don't
have sudo access and that is needed to fix xcode-select).
Some minor whitespace fixes.
Minor backtick fix in doctor.rb's printout.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Metapixel doesn't compile against libpng 1.5 without patching.
There was some movement upstream, but now the head source is hard-coded
to Lion pathnames, which won't work on Snow Leopard and might break
on Mountain Lion too.
Rather than maintain our own patches, move to the boneyard.
Interested parties should work with upstream to get broad OS X
compatibility.
There has been no upstream activity for this software, and the build
depends on specific versions of Xcode and GCC. Since this isn't compatible
going forward, and we don't want to carry xcode project patches in core,
moving to the boneyard.
Upgrade qhull to version 2012.1
Adjust the patch for this version and put it inline.
Patch doesn't need to remove `user_eg user_eg2 user_eg3` anymore
because the test programs are not built by default.
Remove the CMake variable to adjust the man page location which
it gets correct now.
Put the source directory last on the `cmake` command line.
Tested on Lion using clang and llvm from XCode-4.3.3 by using
the examples provided in the `qhull` usage.
Closes#12911.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade qdbm to version 1.8.78.
Add flag to `--enable-bzip`.
Add flag to `--enable-zlib`.
Add flag to `--enable-iconv`.
Those increase functionality at no cost.
Remove the unnecessary `--mandir`. It gets it right now.
Remove the unrecognized `--disable-dependency-tracking`.
Qdbm passes `make check-mac` using clang and llvm from XCode-4.3.3.
Closes#12910.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade qca to version 2.0.3.
Add `--disable-tests` to stop building the unittests and examples.
Tested on Lion with clang and llvm from XCode-4.3.3.
Closes#12908.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The previous commit restricted the targets to just the native one,
but Qemu is an emulator. So that change disabled functionality.
Remove the target specifier, and let Qemu build all targets again.
Fixes problems posted by two users in the comments of the previous
pull request: #12909Closes#13008.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade quassel to version 0.8.0.
Adjust the patch to apply to the altered files.
Add another line to the patch to support `<QtWebKit/QWebSettings>`
otherwise there's a compile error.
Tested on Lion with clang and llvm from XCode-4.3.3 by starting
the chat gui.
Closes#12939.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>