Browse Source

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 <jow@openwrt.org>
Jo-Philipp Wich 10 years ago
parent
commit
2e92e83d10
1 changed files with 2 additions and 7 deletions
  1. 2
    7
      utils/smartmontools/Makefile

+ 2
- 7
utils/smartmontools/Makefile View File

@@ -18,6 +18,8 @@ PKG_MD5SUM:=2ea0c62206e110192a97b59291b17f54
18 18
 PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
19 19
 PKG_LICENSE:=GPL-2.0+
20 20
 
21
+PKG_FIXUP:=autoreconf
22
+
21 23
 include $(INCLUDE_DIR)/package.mk
22 24
 
23 25
 define Package/smartmontools/Default
@@ -60,13 +62,6 @@ CONFIGURE_VARS += \
60 62
 	LDFLAGS="$$$$LDFLAGS" \
61 63
 	LIBS="-nodefaultlibs -lc -luClibc++ -lm $(LIBGCC_S) -lc" \
62 64
 
63
-define Build/Configure
64
-	(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
65
-		./autogen.sh \
66
-	);
67
-	$(call Build/Configure/Default)
68
-endef
69
-
70 65
 define Build/Compile
71 66
 	$(MAKE) -C $(PKG_BUILD_DIR) \
72 67
 		BUILD_INFO='"(localbuild)"' \