package/gnupg2: really do not run tests in cross-compilation
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 16 Dec 2015 21:44:30 +0000 (22:44 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 16 Dec 2015 22:38:59 +0000 (23:38 +0100)
commit80677e0208c0ab1e2d0ee9846a4b95939cc7b353
tree1078d0e9e76a6ab6894f926dbbdb5264a64afe22
parent35a8bcfad949a9eb37411c8fad4aef8305f90142
package/gnupg2: really do not run tests in cross-compilation

gnupg2 still tries to run test even if it tries to avoid it in
cross-compilation.

Really disable running the tests.

Since that requires a complete autoreconf, the existing patch against
configure is turned into a patch against the m4 macro.

since we autoreconf, we slightly patch configure.ac to not emit git
errors on stderr because it is not in a git tree.

[Thomas: rename patch 0000 to 0004, as suggested by Arnout.]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gnupg2/0001-fix-pth-config-usage.patch
package/gnupg2/0003-dont-run-tests.patch [new file with mode: 0644]
package/gnupg2/0004-silence-git-when-not-in-git-tree.patch [new file with mode: 0644]
package/gnupg2/gnupg2.mk