From 04fd610e9ecb2e53a995e10d0f1d80dec3b8095f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Wed, 4 Nov 2015 18:12:21 +0100 Subject: [PATCH] fossil: fix Makefile for GNU Make < 3.82 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit make defconfig (or feeds update) raised following error for fossil package on Ubuntu 14.04 LTS with GNU Make 3.81: Makefile:47: *** missing separator. Stop. To fix this, empty blocks are now defined instead of using undefine directive which was added in GNU Make 3.82. Signed-off-by: Jan Čermák --- net/fossil/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net/fossil/Makefile b/net/fossil/Makefile index 656c83ccb..d0f6507a1 100644 --- a/net/fossil/Makefile +++ b/net/fossil/Makefile @@ -44,7 +44,8 @@ MAKE_FLAGS := \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DFOSSIL_ENABLE_JSON" \ LDFLAGS="$(TARGET_LDFLAGS) -Wl,-rpath=$(TOOLCHAIN_DIR)/lib -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \ -undefine Build/Configure +define Build/Configure +endef define Build/Compile $(call Build/Compile/Default, \ @@ -52,7 +53,8 @@ define Build/Compile ) endef -undefine Build/Install +define Build/Install +endef define Package/fossil/conffiles /etc/config/fossil