From 2e92e83d10a576b3be7ba6b228b45bdaefe9cb18 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 10 Jan 2015 16:02:56 +0100 Subject: [PATCH] smartmontools: use generic autoreconf fixup Instead of using the broken upstream autogen.sh, utilize then generic autoreconf PKG_FIXUP. This fixes the following configure error after the recent automake update in trunk: -- 8< -- You must have at least GNU Automake 1.7 (up to 1.14) installed in order to bootstrap smartmontools from SVN. Download the appropriate package for your distribution, or the source tarball from ftp://ftp.gnu.org/gnu/automake/ . Also note that support for new Automake series (anything newer than 1.14) is only added after extensive tests. If you live in the bleeding edge, you should know what you're doing, mainly how to test it before the developers. Be patient. make[2]: *** [.../.configured_] Error 1 -- >8 -- Signed-off-by: Jo-Philipp Wich --- utils/smartmontools/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/utils/smartmontools/Makefile b/utils/smartmontools/Makefile index d33917c60..a12bdb8b2 100644 --- a/utils/smartmontools/Makefile +++ b/utils/smartmontools/Makefile @@ -18,6 +18,8 @@ PKG_MD5SUM:=2ea0c62206e110192a97b59291b17f54 PKG_MAINTAINER:=Maxim Storchak PKG_LICENSE:=GPL-2.0+ +PKG_FIXUP:=autoreconf + include $(INCLUDE_DIR)/package.mk define Package/smartmontools/Default @@ -60,13 +62,6 @@ CONFIGURE_VARS += \ LDFLAGS="$$$$LDFLAGS" \ LIBS="-nodefaultlibs -lc -luClibc++ -lm $(LIBGCC_S) -lc" \ -define Build/Configure - (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ - ./autogen.sh \ - ); - $(call Build/Configure/Default) -endef - define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ BUILD_INFO='"(localbuild)"' \