Closed ftigeot closed 11 years ago
this is a very common problem. Often FreeBSD actually patches the port to force it to use the system readline and the patch has to be removed. Other times the settings in the makefile are wrong, or it's missing configure args. I have fixed a dozen of similar breakage.
I have made it compile, and i have checked the created package works as expected.
http://leaf.dragonflybsd.org/~sephe/ipmitool.tbz
The change is made directly to the Makefile, well, I am not sure about where else to change.
The added lines: LIB_DEPENDS+= readline:${PORTSDIR}/devel/readline CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib
I suspect you can replace all of that with this: "USES+= readline"
yeah, that works!
Fix pushed to Deltaports. Thanks, John!
sysutils/ipmitool fails to build with this error:
ipmishell.c: In function 'ipmi_shell_main': ipmishell.c:113: error: 'rl_event_hook' undeclared (first use in this function)