summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/ipmiutil')
-rw-r--r--sys-apps/ipmiutil/files/ipmiutil-3.1.4-fix_lanplus_build.patch11
-rw-r--r--sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild5
2 files changed, 14 insertions, 2 deletions
diff --git a/sys-apps/ipmiutil/files/ipmiutil-3.1.4-fix_lanplus_build.patch b/sys-apps/ipmiutil/files/ipmiutil-3.1.4-fix_lanplus_build.patch
new file mode 100644
index 000000000000..3f1331412d85
--- /dev/null
+++ b/sys-apps/ipmiutil/files/ipmiutil-3.1.4-fix_lanplus_build.patch
@@ -0,0 +1,11 @@
+--- 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=""
diff --git a/sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild b/sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild
index a8fbfd6eff87..9f6c5ecdfef1 100644
--- a/sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild
+++ b/sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -20,6 +20,7 @@ DEPEND="${RDEPEND}
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() {
@@ -35,7 +36,7 @@ src_prepare() {
}
src_configure() {
- econf --disable-systemd --enable-sha256
+ econf --disable-systemd --enable-sha256 --enable-lanplus
}
src_compile() {