The test for this previously passed, but only because the constructor
for SoftwareSpecification was raising an exception. method_added needs
to be a class method because methods are being defined on the class, not
the object, and to test it properly we have to eval the class in the
test itself.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
the ghc formula had an explicit version because we had trouble parsing
the version from the 64-bit URL. It is working now, so add a test to
ensure it isn't broken in the future.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This formula is installing things directly into /usr/local instead
of to the Cellar, and does not seem to have a "PREFIX" option.
Removing until an interested party fixes it.
Closes#10898.
Upgrade libraw to 0.14.6. Use little-cms2. Libraw uses the newer
version of lcms if both are installed, and it skips the older one.
Therefore, switch the depends_on to little-cms2.
Closes#11459.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This links the zsh autocomplete for 'task' into share/zsh/functions,
where it is more likely to be automatically picked up by zsh users.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upcoming changes to formula specs may forbid using a class instance
variable in this manner, and it's easier to copy/paste anyway.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
geoip-1.4.8 always calls a form of autoreconf after configure,
then reruns configure. This causes a build error on Lion when
it crafts a broken Makefile that is missing the rule to make the
target `../libGeoIP/libGeoIP.a`.
* Add deps on autoconf, automake, and libtool if XCode >= 4.3.
* Add a command to run `autoreconf -ivf` before configure, which
works on Lion and SL. Previously, the autoreconf on SL would
fail to work because it tries to use shell `--missing` versions.
Both the universal and native builds compile and pass make check
using all five compilers from XCode-4.3.2 and 4.0.2, on both Lion
and 64bit Snow Leopard.
Fixes#11402.
Closes#11405.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>