commit efe52d2fe55061dfdc5fd33f44cf1879cc13f8dc
parent 9afb5e8cf8f29d8a83bc08c73119e221feec008f
Author: Jo-Philipp Wich <jow@openwrt.org>
Date: Sat, 10 Jan 2015 18:48:20 +0100
Merge pull request #762 from jow-/smartmontools-autoreconf
smartmontools: use generic autoreconf fixup
Diffstat:
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/utils/smartmontools/Makefile b/utils/smartmontools/Makefile
@@ -19,6 +19,8 @@ PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
PKG_LICENSE:=GPL-2.0+
PKG_LICENSE_FILES:=COPYING
+PKG_FIXUP:=autoreconf
+
include $(INCLUDE_DIR)/package.mk
define Package/smartmontools/Default
@@ -61,13 +63,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)"' \