Date: Fri, 12 May 2006 05:20:17 GMT From: Dmitry Frolov <frolov@riss-telecom.ru> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/96333: [patch] make sysutils/ipmitool compatible with sysutils/ipmi-kmod Message-ID: <200605120520.k4C5KHRJ001689@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/96333; it has been noted by GNATS. From: Dmitry Frolov <frolov@riss-telecom.ru> To: bug-followup@FreeBSD.org, snb@threerings.net Cc: Subject: Re: ports/96333: [patch] make sysutils/ipmitool compatible with sysutils/ipmi-kmod Date: Fri, 12 May 2006 12:13:22 +0700 Sorry for the noise, but here is another patch. It will not require sysutils/ipmi-kmod port by default since that requires kernel sources to build and also doesn't build on some archs. diff -ruN /usr/ports/sysutils/ipmitool/Makefile ./Makefile --- /usr/ports/sysutils/ipmitool/Makefile Thu Mar 23 01:29:18 2006 +++ ./Makefile Fri May 12 12:11:18 2006 @@ -7,6 +7,7 @@ PORTNAME= ipmitool PORTVERSION= 1.8.7 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -37,10 +38,12 @@ .include <bsd.port.pre.mk> -# FreeBSD has OpenIPMI-compatible driver, ipmi(4), -# in 7-current after 2006-02-12. On older systems -# only lan and lanplus interfaces are supported. .if exists(/usr/include/sys/ipmi.h) +OPENIPMI_OPT= --enable-intf-open +.elif defined(WITH_IPMITOOL_IPMI_KMOD_PORT) || \ + exists(${LOCALBASE}/include/sys/ipmi.h) +BUILD_DEPENDS+= ${LOCALBASE}/include/sys/ipmi.h:${PORTSDIR}/sysutils/ipmi-kmod +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" OPENIPMI_OPT= --enable-intf-open .else OPENIPMI_OPT= --disable-intf-open wbr&w, dmitry. -- Dmitry Frolov <frolov@riss-telecom.ru> RISS-Telecom Network, Novosibirsk, Russia 66415911@ICQ, +7 3832 NO WA1T, DVF-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605120520.k4C5KHRJ001689>