5f9d65fb46
Build fails since bump to version 3.1.7 in commit
011f31ee24
because config.h.in is older
than aclocal.m4:
make[1]: Entering directory '/tmp/instance-4/output-1/build/ipmiutil-3.1.7'
(CDPATH="${ZSH_VERSION+.}:" && cd . && autoheader)
/bin/bash: autoheader: command not found
Fixes:
- http://autobuild.buildroot.org/results/2005af881726473f2cda176e90c1e41e4baea67c
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
32 lines
1.0 KiB
Makefile
32 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# ipmiutil
|
|
#
|
|
################################################################################
|
|
|
|
IPMIUTIL_VERSION = 3.1.7
|
|
IPMIUTIL_SITE = https://sourceforge.net/projects/ipmiutil/files
|
|
IPMIUTIL_LICENSE = BSD-3-Clause
|
|
IPMIUTIL_LICENSE_FILES = COPYING
|
|
|
|
IPMIUTIL_MAKE = $(MAKE1)
|
|
|
|
# aclocal.m4 is newer than config.h.in. Touch the latter to avoid autoreconf
|
|
define IPMIUTIL_TOUCH_CONFIG_H_IN
|
|
touch $(@D)/config.h.in
|
|
endef
|
|
IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN
|
|
|
|
# forgets to link against libcrypto dependencies breaking static link
|
|
ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx)
|
|
# tests against distro libcrypto so it might get a false positive when
|
|
# the openssl version is old, so force it off
|
|
# SKIP_MD2 can be used only if ALLOW_GNU is defined.
|
|
IPMIUTIL_CONF_OPTS += CPPFLAGS="$(TARGET_CPPFLAGS) -DALLOW_GNU -DSKIP_MD2 -DSSL11"
|
|
IPMIUTIL_DEPENDENCIES += openssl
|
|
else
|
|
IPMIUTIL_CONF_OPTS += --disable-lanplus
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|