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>
lilik-openwrt-22.03
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
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
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)"' \


Loading…
Cancel
Save