summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Misbakh-Soloviov <mva@gentoo.org>2020-01-25 01:17:29 +0700
committerVadim Misbakh-Soloviov <mva@gentoo.org>2020-01-25 01:17:29 +0700
commit74d8e36357519c25110254efd7f74d93c665b6d8 (patch)
tree8eb3bcced27dfddc596408ce8d935dc8a415d7a2 /sys-apps/ipmiutil
parentwww-client/vivaldi: Old (diff)
downloadgentoo-74d8e36357519c25110254efd7f74d93c665b6d8.tar.gz
gentoo-74d8e36357519c25110254efd7f74d93c665b6d8.tar.bz2
gentoo-74d8e36357519c25110254efd7f74d93c665b6d8.zip
ipmiutil: fix for lanplus module
Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>
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() {