mtr: add autoreconf
authorGuo Li <uxgood.org@gmail.com>
Thu, 6 Sep 2018 07:10:25 +0000 (15:10 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 6 Sep 2018 07:57:18 +0000 (15:57 +0800)
The official tarball does not contain configure, we should set
PKG_FIXUP=autoreconf to generate one

make[4]: *** No targets specified and no makefile found.  Stop.

Signed-off-by: Guo Li <uxgood.org@gmail.com>
net/mtr/Makefile

index c9fe06145b789c2e73129c9340a9d5cf23bff081..67921de4c776b85e65ab1cebb43f83e15ee37307 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mtr
 PKG_VERSION:=0.92
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://www.bitwizard.nl/mtr/files
@@ -22,6 +22,8 @@ PKG_LICENSE_FILES:=COPYING
 PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
 
+PKG_FIXUP:=autoreconf
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/mtr
@@ -49,10 +51,6 @@ CONFIGURE_ARGS += \
 
 CONFIGURE_VARS += ac_cv_lib_cap_cap_set_proc=no
 
-define Build/Configure
-       $(call Build/Configure/Default)
-endef
-
 define Package/mtr/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mtr $(1)/usr/sbin/