Make ipmitool use libedit instead of libreadline.

ok sthen
This commit is contained in:
yasuoka 2015-05-25 07:52:40 +00:00
parent 0daea61d74
commit 2650035519
2 changed files with 17 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.14 2015/04/30 14:27:54 sthen Exp $
# $OpenBSD: Makefile,v 1.15 2015/05/25 07:52:40 yasuoka Exp $
COMMENT= manage and configure devices that supports IPMI
DISTNAME= ipmitool-1.8.15
REVISION= 0
REVISION= 1
CATEGORIES= sysutils
HOMEPAGE= http://ipmitool.sourceforge.net/
@ -13,12 +13,13 @@ MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= m ncurses readline crypto c
WANTLIB= m ncurses edit crypto c
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ipmitool/}
SEPARATE_BUILD= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.69
CONFIGURE_ARGS+= --disable-dependency-tracking
CONFIGURE_ARGS+= --disable-intf-free
CONFIGURE_ARGS+= --disable-intf-open

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure_ac,v 1.1 2015/05/25 07:52:40 yasuoka Exp $
--- configure.ac.orig Mon Nov 24 23:00:07 2014
+++ configure.ac Mon May 25 11:53:33 2015
@@ -528,7 +528,7 @@ AC_SUBST(IPMITOOL_INTF_LIB)
if test "x$xenable_ipmishell" = "xyes"; then
AC_SEARCH_LIBS([tgetent], [tinfo ncurses curses readline termcap])
AC_SEARCH_LIBS([initscr], [ncurses curses], [have_curses=yes])
- AC_SEARCH_LIBS([readline], [readline edit], [have_readline=yes])
+ AC_SEARCH_LIBS([readline], [edit readline], [have_readline=yes])
if test "x$have_curses" != "xyes" || test "x$have_readline" != "xyes"; then
xenable_ipmishell=no
fi