47a7c75bfb
mutt has been upgraded, but the mutt-1.5.16-makedoc-hostcc.patch wasn't upgraded accordingly, causing build failures in the documentation. Therefore, we add a new patch mutt-1.5.17+20080114-nodoc.patch that disables the construction of the documentation. As this patch modifies Makefile.am, we need to autoreconf the package. The simplest and cleanest way to do this is to convert the package to the autotools infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
707 B
Makefile
25 lines
707 B
Makefile
#############################################################
|
|
#
|
|
# mutt
|
|
#
|
|
#############################################################
|
|
MUTT_VERSION:=1.5.17+20080114
|
|
MUTT_SOURCE:=mutt_$(MUTT_VERSION).orig.tar.gz
|
|
MUTT_PATCH:=mutt_$(MUTT_VERSION)-1.diff.gz
|
|
MUTT_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/m/mutt/
|
|
MUTT_DEPENDENCIES=ncurses
|
|
MUTT_CONF_OPT = \
|
|
--disable-smtp \
|
|
--disable-iconv \
|
|
--without-wc-funcs
|
|
MUTT_AUTORECONF=YES
|
|
|
|
define MUTT_APPLY_DEBIAN_PATCHES
|
|
if [ -d $(@D)/debian/patches ]; then \
|
|
toolchain/patch-kernel.sh $(@D) $(@D)/debian/patches \*.patch; \
|
|
fi
|
|
endef
|
|
|
|
MUTT_POST_PATCH_HOOKS += MUTT_APPLY_DEBIAN_PATCHES
|
|
|
|
$(eval $(call AUTOTARGETS,package,mutt)) |