![Arnout Vandecappelle (Essensium/Mind)](/assets/img/avatar_default.png)
The hand-written Makefile is not parallel-build safe: the objs directory is created in a separate rule, but the rules that create files in that directory don't depend on it. Although this relatively simple to fix, upstream clearly doesn't care about parallel builds so it is likely to break again in the future. Since most consists of just a dozen source files, just disable parallel build. Fixes: http://autobuild.buildroot.net/results/c7540203a8eadad3f324f0d7e7fe66a526d4a2e9 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Sven Oliver Moll <buildroot@svol.li> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
26 lines
695 B
Makefile
26 lines
695 B
Makefile
################################################################################
|
|
#
|
|
# most
|
|
#
|
|
################################################################################
|
|
|
|
MOST_SITE = http://www.jedsoft.org/releases/most
|
|
MOST_VERSION = 5.1.0
|
|
MOST_LICENSE = GPL-2.0+
|
|
MOST_LICENSE_FILES = COPYING COPYRIGHT
|
|
MOST_DEPENDENCIES = slang
|
|
|
|
MOST_CONF_OPTS = --with-slang=$(STAGING_DIR)/usr
|
|
MOST_MAKE = $(MAKE1)
|
|
|
|
define MOST_REMOVE_LOCAL_SLANG_CHECK
|
|
$(SED) 's/ slangversion / /g' $(@D)/src/Makefile.in
|
|
endef
|
|
MOST_POST_PATCH_HOOKS += MOST_REMOVE_LOCAL_SLANG_CHECK
|
|
|
|
define MOST_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/src/objs/most $(TARGET_DIR)/usr/bin/most
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|