Patchwork [1/1] libgcrypt: Do not remove m4 files so aggressively

login
register
mail settings
Submitter Peter Kjellerstedt
Date Aug. 13, 2014, 5:46 p.m.
Message ID <92f2c324eb564aa6b3b9c130c9d248a05bc98de0.1407951828.git.pkj@axis.com>
Download mbox | patch
Permalink /patch/78077/
State Accepted
Commit c1fe42c99b00770c77b5a88e53b4021b4d186e66
Headers show

Comments

Peter Kjellerstedt - Aug. 13, 2014, 5:46 p.m.
Removing all m4 files in the m4 directory led to a number of non-fatal
errors while running configure when the expected m4 macros could not
be found.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 meta/recipes-support/libgcrypt/libgcrypt.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc
index fa2bc38..43e0291 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt.inc
+++ b/meta/recipes-support/libgcrypt/libgcrypt.inc
@@ -23,8 +23,8 @@  inherit autotools-brokensep texinfo binconfig-disabled pkgconfig
 EXTRA_OECONF = "--disable-asm --with-capabilities"
 
 do_configure_prepend () {
-	# Else these could be used in prefernce to those in aclocal-copy
-	rm -f ${S}/m4/*.m4
+	# Else this could be used in preference to the one in aclocal-copy
+	rm -f ${S}/m4/gpg-error.m4
 }
 
 # libgcrypt.pc is added locally and thus installed here