Currently, gpgme will build against gnupg2 but this results in a lot of
test failures, at least for me. And if both gnupg and gnupg2 are
installed, the test suite will run against a combination of binaries
from the two packages, resulting in even more failed tests.
So for now, let's keep the dependency on gnupg 1.x only and disable the
gpgme components that require gnupg2.
Patches welcome to fix the underlying issues; I will probably mess
around with it in the future, too.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm",
to specifically message to the user when a formula is known or suspected
to not build with LLVM. If the user specifies "--use-llvm", the message
will be displayed, but compilation will be tried anyway.
Since using LLVM is now an advanced/hidden feature instead of the
default on 10.6, we'll let the user try anyway (and submit patches
if things are now working.)
GnuPG needs to be built before GPGME to prevent an error
in the Ruby gpgme gem:
ArgumentError (released ctx):
gpgme (1.0.8) lib/gpgme.rb:967:in `gpgme_set_armor'
gpgme (1.0.8) lib/gpgme.rb:967:in `armor='
Signed-off-by: Adam Vandenberg <flangy@gmail.com>