mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
fossil: fix Makefile for GNU Make < 3.82
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 <jan.cermak@nic.cz>
This commit is contained in:
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user