From e656745031fd11acc6b00f49dd809374a486fae8 Mon Sep 17 00:00:00 2001 From: Guo Li Date: Thu, 6 Sep 2018 15:10:25 +0800 Subject: [PATCH] mtr: add autoreconf 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 --- net/mtr/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/net/mtr/Makefile b/net/mtr/Makefile index c9fe06145..67921de4c 100644 --- a/net/mtr/Makefile +++ b/net/mtr/Makefile @@ -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/