summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-04 13:29:44 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-04 13:29:44 +0000
commit7f466581c4bfa2e474c24b00468585a71c3baed4 (patch)
treef720df550386442276499c70bf58e313355a1a51
parent- Strip binaries (diff)
- Mark IGNORE on 8.x ('APMIO_GETINFO' undeclared) - 8.x doesn't seem to have required apm support
MFH: 2015Q2
-rw-r--r--sysutils/xbatt/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/xbatt/Makefile b/sysutils/xbatt/Makefile
index 4ae2e00728f5..15941c3b0372 100644
--- a/sysutils/xbatt/Makefile
+++ b/sysutils/xbatt/Makefile
@@ -16,4 +16,10 @@ USES= imake:noman
USE_XORG= xpm xaw
PLIST_FILES= "@(,operator,2755) bin/xbatt"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 900000
+IGNORE= doesn't support FreeBSD 8.x
+.endif
+
+.include <bsd.port.post.mk>