aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2011-05-20 14:47:50 +0800
committerculot <culot@FreeBSD.org>2011-05-20 14:47:50 +0800
commitf166bd0f7d6248ecac070fa3b4644e3a818790ee (patch)
treebbac53511d8b7e733cee2aafac8f444977534afa /multimedia
parent866932368856e0526a68db73a2b6783abab9d1e7 (diff)
downloadfreebsd-ports-gnome-f166bd0f7d6248ecac070fa3b4644e3a818790ee.tar.gz
freebsd-ports-gnome-f166bd0f7d6248ecac070fa3b4644e3a818790ee.tar.zst
freebsd-ports-gnome-f166bd0f7d6248ecac070fa3b4644e3a818790ee.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)
Diffstat (limited to 'multimedia')
-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>