aboutsummaryrefslogtreecommitdiff
path: root/package/libmhash/libmhash.mk
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-07-31 00:02:20 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-31 08:26:33 +0200
commite573f5d3267e5916c580e499ecd127c60107b8e1 (patch)
treea73aaa41d3a4bf15ebb495ef0348cf106af38da7 /package/libmhash/libmhash.mk
parent26aefa672c96caefc17adf59a9ab3d327114ad36 (diff)
downloadbuildroot-e573f5d3267e5916c580e499ecd127c60107b8e1.tar.gz
buildroot-e573f5d3267e5916c580e499ecd127c60107b8e1.tar.bz2
packages: autoreconf non-vanilla libtool packages
Some packages no longer apply the libtool patch since commit 97703978ac870ce2b14ad144f8e082de82aa2c64 because they use a non-vanilla version of libtool 1.5.x Fixes many failures like: http://autobuild.buildroot.net/results/34e/34e4898e2bdc08e5d34e16e556384b3086b76467/ http://autobuild.buildroot.net/results/ecf/ecf4e7d6812f972d05c95203fb665235856c0817/ http://autobuild.buildroot.net/results/5d9/5d9a05fb70e8a65f2399c4f38375aeafb9686ea4/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libmhash/libmhash.mk')
-rw-r--r--package/libmhash/libmhash.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/libmhash/libmhash.mk b/package/libmhash/libmhash.mk
index f7b8e72997..00da7c1e22 100644
--- a/package/libmhash/libmhash.mk
+++ b/package/libmhash/libmhash.mk
@@ -8,7 +8,15 @@ LIBMHASH_VERSION = 0.9.9.9
LIBMHASH_SITE = http://downloads.sourceforge.net/project/mhash/mhash/$(LIBMHASH_VERSION)
LIBMHASH_SOURCE = mhash-$(LIBMHASH_VERSION).tar.bz2
LIBMHASH_INSTALL_STAGING = YES
+# libtool 1.5 patch failure
+LIBMHASH_AUTORECONF = YES
LIBMHASH_LICENSE = LGPLv2
LIBMHASH_LICENSE_FILES = COPYING
+# Two trees in the tarball cause autoreconf problems
+define LIBMHASH_REMOVE_DUPLICATE
+ $(RM) -rf $(@D)/mhash-0.9.9
+endef
+LIBMHASH_POST_EXTRACT_HOOKS += LIBMHASH_REMOVE_DUPLICATE
+
$(eval $(autotools-package))