Hi,

The diff makes ipmitool use libedit instead of libreadline.
Tested "ipmitool shell" on -current.

ok?

Index: sysutils/ipmitool/Makefile
===================================================================
RCS file: /cvs/ports/sysutils/ipmitool/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- sysutils/ipmitool/Makefile  30 Apr 2015 14:27:54 -0000      1.14
+++ sysutils/ipmitool/Makefile  25 May 2015 04:21:05 -0000
@@ -3,7 +3,7 @@
 COMMENT=               manage and configure devices that supports IPMI
 
 DISTNAME=              ipmitool-1.8.15
-REVISION=              0
+REVISION=              1
 CATEGORIES=            sysutils
 
 HOMEPAGE=              http://ipmitool.sourceforge.net/
@@ -18,7 +18,8 @@ WANTLIB=              m ncurses readline 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
Index: sysutils/ipmitool/patches/patch-configure_ac
===================================================================
RCS file: sysutils/ipmitool/patches/patch-configure_ac
diff -N sysutils/ipmitool/patches/patch-configure_ac
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ sysutils/ipmitool/patches/patch-configure_ac        25 May 2015 04:21:05 
-0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- 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

Reply via email to