Switch the formula to use configure.
Openjpeg can be built using configure or cmake. They don't install
identically, though. When built with cmake, one header is absent.
Switching to configure gets us the unversioned one also, i.e.
openjpeg/1.5.0/include/openjpeg-1.5/openjpeg.h
openjpeg/1.5.0/include/openjpeg.h
While only three formula currently depend_on openjpeg, they all
contain code that expects the unversioned file, i.e.
#include <openjpeg.h>
Closes#11576.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
A common source of build problems on Xcode 4.3+ is outdated compilers,
usually when a user has installed over top of an old version and hasn't
installed the CLT. Since the compilers from the previous Xcode are still
around, brew doctor wouldn't complain.
This adds a hash containing a list of the canonical compiler versions
for supported versions of Xcode, and adds a check against that to determine
whether a given installation has any compilers which are out of date.
Closes#11518.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Mapnik by default tries to install to the site-packages in /System
when brewed against system Python. This causes a build error
because that directory is not writeable. Mapnik correctly
determines the versioned site-packages name without modification,
but for Homebrew it needs the proper prefix.
* Add the standard `which_python` function to the formula.
* Add a scons argument for `PYTHON_PREFIX`
* Add the standard caveat for `PYTHONPATH`.
Discussed upstream: https://github.com/mapnik/mapnik/issues/1155
and tested on Lion against the system Python.
Fixes#11389Closes#11407.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
ARGV.build_head? will return true if the typo '-HEAD' is passed because
it uses flag? to detect the option. However, we only filter the exact
spelling of '--HEAD' in ARGV.filter_for_dependencies, and thus the HEAD
property is undesirably passed to deps during installation.
Since we never advertised '-H' as a valid short option for '--HEAD',
just use include? instead of flag?.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* Upgrade lzip to version 1.13.
* Remove --man flag because it installs to the correct location.
* Add make check because it's a compression program, and data
integrity seems worth the 2 sec. extra.
* Add ENV.j1 for make install, otherwise it will occasionally fail.
Tested on Lion and 64bit Snow Leopard using all compilers from
XCode-4.3.2 and 4.0.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Upgrade lzlib to version 1.3.
* Correct configure flags. It is a C library, not C++. Before it
would always compile with gcc. It only uses CC and CFLAGS.
* Add make check because it's a compression library, and data
integrity seems worth the 2 seconds extra.
Tested on Lion and 64bit Snow Leopard with all compilers from
XCode-4.3.2 and 4.0.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade tbb to 4.0u3, 20120201 stable. It passes make test on
Lion with XCode-4.3.2, clang and llvm-gcc.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
libQGLViewer is a C++ library based on Qt that eases the creation of OpenGL 3D viewers
A patch is included in the formula to change the hardcoded install path to #{prefix}.
Closes#10837.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This brew includes Bind along with a suite of tools bundled with it. These
tools are the de facto standard for working with DNS. Bind is compiled with
ipv6 support and dig is compiled with sigchase option turned on.
Closes#8948.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Update unp to 2.0-pre7. Unp is an archive unpacker.
Install bash completion script.
COPYING and CHANGELOG in the top level are new symlinks. rm them
so the two mv commands will succeed.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>