Core change: clt_installed? and clt_version

clt_installed? returns true if the default unix tools are located
at /usr or if the "Command Line Tools for Xcode" package has
been installed.

clt_version is the version string returned by pkgutil
(via pkgutil query. Thanks to camillol) for the CLT
package installed stand-alone or via Xcode's prefs.

xcode_installed? now first checks /Applications/Xcode.app,
then /Developer/Xcode.app and finally resorts to
spotlight. (thanks amillol and mikemcquaid)

added -system to the CPPFLAGS as suggested by mxcl.

--config tells about the Command Line Tools version.
NetCDF: Disable Doxygen

Configure fails to disable make tasks when Doxygen is not installed and this
causes the build to fail. We don't install Doxygen docs anyway.

Also, move `ENV.fortran` to the top of the install block so that the build will
fail early if a fortran compiler is not installed.

Fixes #12406.
MuPDF: Update to 1.0

Make requirement on Snow Leopard or newer fatal.

Remove code that prefixes command line tools with `mu` as this has been done
upstream.
coda-cli 1.0.3

Closes #12405.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Update path of nagios-plugins

Change path from sbin/nagios-plugins to sbin in order to avoid hacks in
related formulae.

Closes #12181.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
gst-ffmpeg: fix clang compile error

GST-ffmpeg comes bundled with an internal ffmpeg that suffers from
the known issue of a hardcoded gcc unless the right configure arg
is thrown.  When building with clang, the hardcoded gcc in the
libav subdirectory causes an error where gcc doesn't recognize
`-march=native`.  GST-ffmpeg offers a configure flag to fix that.
Add a flag to use our ENV.cc.

Fixes #12312

Closes #12390.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
weechat: make bindings optional, patch to fix perl

The weechat saga continues...  This commit makes all the language
modules optional rather than the default.  It adds a dep on guile
if the user options for that module.  It adds a patch from HEAD
to fix the perl segfault on exit and a removal comment for 0.3.8.
This commit does not patch the ruby-1.9.3+rvm issue other than
not building that module by default.  Still waiting on the
upstream patch.

cf. #12377

Closes #12392.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
dnscrypt-proxy 0.9.4

Closes #12343.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
dnscrypt-proxy: remove broken HEAD

The GitHub checkout needs an autotools bootstrap. Patches welcome to
enable it, but removing it until then.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
wiggle 0.9

Upgrade wiggle to version 0.9.
Patch OSX compile errors using the developer's git repo.
Patch two functionality issues released the day after 0.9.
Include patch removal information in the comments.
Remove the `malloc` patches.  They are fixed in this version.
Remove the `-w` from cflags lets the developer use `-Werror`.
Use our `cflags` and `-g` rather than `-ggdb` to support clang.
Add the `test` make target (~2sec) to verify the build because
we are trusting wiggle to do complex patching.

Closes #12305.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
git 1.7.10.3

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
yasm: deparallelize and add LIBS,INCLUDES

To support Xcode without CLT installations we need to set
LIBS and INCLUDES, because the default flags are not
fully respected by their build scripts.
wxmac: fixing compiler clang/llvm issues.

- wx 2.9 needs a patch to compile with clang when using enable-webkit
- wx 2.8 fails with clang → use llvm if MacOS.lion?
- Use new ENV.macosxsdk(version) to set 10.6 target
wxmac: need to pass --with-macosx-version-min to configure

It is not enough to set the env flags, we need to give
configure the MacOS.version, otherwise it may default to 10.5
on a 10.7 system. (This happens on Xcode 4.3 w/o CLT)
temporary adding the fails_with clang thing as a comment
vtk 5.10

- hdf5 is an optional dependency now.
- x11 reworking. cmake 2.8.8 can find the paths itself now.
- PYTHON_INCLUDE_DIR and PYTHON_EXECUTABLE have to be set,
  otherwise you get an error on "import vtk" in python since vtk 5.10.
- Cocoa is default now. So we can be less verbose.
python: move dynamic sqlite extensions to options

To avoid build problems (which lead to skipping the sqlite module),
the dynamic loadable sqlite extensions are an option now.
python: caveats print the real site-packages in effect

- Ask python where the site-packages are located. This helps us in supporting certain problems.
python: check (and warn) about ~/.pydistutils.cfg

That file may silently cause some trouble.
We had this already.
python3: Fix suggested location of symlink for framework

The old suggestion "~/Frameworks" was absolutely non-standard.
Further we do not want to overwrite the framework links from python 2.x.