diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2006-05-14 13:31:58 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2006-05-14 13:31:58 +0000 |
commit | 88e2f7c15a7b3e0e5360e67e0140a35bc6a4736c (patch) | |
tree | 0e8f36aeda1dce3b3bfc0fc797bd3be9102bd306 /sysutils/ipmitool/Makefile | |
parent | c8741a683ee5593f614861e7c5fee6881b8bd7ad (diff) | |
download | ports-88e2f7c15a7b3e0e5360e67e0140a35bc6a4736c.tar.gz ports-88e2f7c15a7b3e0e5360e67e0140a35bc6a4736c.zip |
Notes
Diffstat (limited to 'sysutils/ipmitool/Makefile')
-rw-r--r-- | sysutils/ipmitool/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/ipmitool/Makefile b/sysutils/ipmitool/Makefile index 5ce43e4a0d30..75b2bcc13ed0 100644 --- a/sysutils/ipmitool/Makefile +++ b/sysutils/ipmitool/Makefile @@ -37,11 +37,13 @@ PLIST_FILES+= share/${PORTNAME}/${f} .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_IPMI_KMOD) || \ + 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 .endif |