diff options
author | pav <pav@FreeBSD.org> | 2006-09-07 16:16:21 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-09-07 16:16:21 +0800 |
commit | 64a9dae9a1db7a88b1a8ab9a781eeb84e04ff607 (patch) | |
tree | e72f1e0d464ade4932c5e3072634905296faf100 /sysutils/battmond | |
parent | c1b7545c18259bec5272dc19b4611b2f12f3c255 (diff) | |
download | freebsd-ports-gnome-64a9dae9a1db7a88b1a8ab9a781eeb84e04ff607.tar.gz freebsd-ports-gnome-64a9dae9a1db7a88b1a8ab9a781eeb84e04ff607.tar.zst freebsd-ports-gnome-64a9dae9a1db7a88b1a8ab9a781eeb84e04ff607.zip |
- IGNORE on FreeBSD 5.X and older:
battmond.c:162: error: `ACPI_BATTERY_ALL_UNITS' undeclared
Reported by: krismail
Diffstat (limited to 'sysutils/battmond')
-rw-r--r-- | sysutils/battmond/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/battmond/Makefile b/sysutils/battmond/Makefile index e61d583895ff..f0d7e4a872b2 100644 --- a/sysutils/battmond/Makefile +++ b/sysutils/battmond/Makefile @@ -19,4 +19,10 @@ MANCOMPRESSED= yes PLIST_FILES= sbin/battmond \ etc/rc.d/battmond -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 600000 +IGNORE= requires ACPI features present in FreeBSD 6.X and newer +.endif + +.include <bsd.port.post.mk> |