aboutsummaryrefslogtreecommitdiff
path: root/multimedia/cx88
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2011-05-20 06:47:50 +0000
committerFrederic Culot <culot@FreeBSD.org>2011-05-20 06:47:50 +0000
commitc07d99e11205c95884be6514c2c9ca19368705d7 (patch)
tree4d44542741aa82a38960402f4668d244fab5e564 /multimedia/cx88
parent0fa5305f9d0590b8f52c359266b6641b4066421d (diff)
downloadports-c07d99e11205c95884be6514c2c9ca19368705d7.tar.gz
ports-c07d99e11205c95884be6514c2c9ca19368705d7.zip
- Use OSVERSION instead of grep output as basis for determining whether
kernel provides kmem_alloc_attr() Requested by: pav@ PR: ports/157193 Submitted by: Jason Harmening <jason.harmening@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=274357
Diffstat (limited to 'multimedia/cx88')
-rw-r--r--multimedia/cx88/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/multimedia/cx88/Makefile b/multimedia/cx88/Makefile
index ad8cfa3b0fa4..8121bcd4996c 100644
--- a/multimedia/cx88/Makefile
+++ b/multimedia/cx88/Makefile
@@ -25,18 +25,12 @@ MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 700055
-IGNORE= requires FreeBSD 7.0-RELEASE or later
+.if (${OSVERSION} < 704000) || ((${OSVERSION} >= 800000) && (${OSVERSION} < 801000))
+IGNORE= requires kernel support for kmem_alloc_attr() (FreeBSD 7.4+, FreeBSD 8.1+)
.endif
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= requires kernel source files
.endif
-KMEM_ALLOC_ATTR != ${GREP} -r "kmem_alloc_attr" ${SRC_BASE}/sys
-
-.if ${KMEM_ALLOC_ATTR} == ""
-IGNORE= requires kernel support for kmem_alloc_attr() (FreeBSD 7.4+, FreeBSD 8.1+)
-.endif
-
.include <bsd.port.post.mk>