aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-11-06 09:39:22 +0800
committeralepulver <alepulver@FreeBSD.org>2006-11-06 09:39:22 +0800
commitb483f552db8147284b2e37fbe0eac03dfcf892b0 (patch)
treeda0f9d2dddce300d04a8b5490ef3ec6242d936b1
parent3538c2eb29396d4ae8697457c71e2738d90730ac (diff)
downloadfreebsd-ports-gnome-b483f552db8147284b2e37fbe0eac03dfcf892b0.tar.gz
freebsd-ports-gnome-b483f552db8147284b2e37fbe0eac03dfcf892b0.tar.zst
freebsd-ports-gnome-b483f552db8147284b2e37fbe0eac03dfcf892b0.zip
- Check for existence of ipmi driver code in kernel sources instead of
checking OSVERSION. PR: ports/105097 Submitted by: Nick Barkas <snb@threerings.net> (maintainer)
-rw-r--r--sysutils/ipmi-kmod/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/ipmi-kmod/Makefile b/sysutils/ipmi-kmod/Makefile
index 288b6acd3aae..78ed115b01e5 100644
--- a/sysutils/ipmi-kmod/Makefile
+++ b/sysutils/ipmi-kmod/Makefile
@@ -37,8 +37,8 @@ STRIP=
IGNORE= requires kernel source to be installed
.endif
-.if ${OSVERSION} >= 601102
-IGNORE= already in the base system
+.if exists(${SRC_BASE}/sys/dev/ipmi)
+IGNORE= is already included in the base system
.elif ${OSVERSION} < 503000
IGNORE= does not support FreeBSD before 5.3
.endif