--- /dev/null
+--- a/configure.ac 2020-01-24 23:32:53.768314546 +0700
++++ b/configure.ac 2020-01-24 23:32:13.971662393 +0700
+@@ -94,7 +94,7 @@ AC_ARG_ENABLE([landesk],
+
+ dnl Configure ipmiutil for lanplus (libipmi_lanplus.a) or not (default yes)
+ AC_ARG_ENABLE([lanplus],
+- [ --enable-lanplus enable lanplus support (default=yes)],[default=yes],
++ [ --enable-lanplus enable lanplus support (default=yes)],
+ [if test "x$enableval" = "xno"; then
+ drv_lanplus=""
+ LANPLUS_CFLAGS=""
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PATCHES=(
"${FILESDIR}"/${PN}-2.9.8-flags.patch
"${FILESDIR}"/${PN}-2.9.9-lib_symlink.patch
+ "${FILESDIR}"/${PN}-3.1.4-fix_lanplus_build.patch
)
src_prepare() {
}
src_configure() {
- econf --disable-systemd --enable-sha256
+ econf --disable-systemd --enable-sha256 --enable-lanplus
}
src_compile() {