ports/96333: [patch] make sysutils/ipmitool compatible with sysutils/ipmi-kmod

Dmitry Frolov frolov at riss-telecom.ru
Fri May 12 05:20:18 UTC 2006


The following reply was made to PR ports/96333; it has been noted by GNATS.

From: Dmitry Frolov <frolov at riss-telecom.ru>
To: bug-followup at FreeBSD.org, snb at 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 at riss-telecom.ru>
 RISS-Telecom Network, Novosibirsk, Russia
 66415911 at ICQ, +7 3832 NO WA1T, DVF-RIPE



More information about the freebsd-ports-bugs mailing list