From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 20 00:00:29 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BDC11065676 for ; Fri, 20 May 2011 00:00:29 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 758E38FC15 for ; Fri, 20 May 2011 00:00:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4K00R12008188 for ; Fri, 20 May 2011 00:00:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4K00RA4008187; Fri, 20 May 2011 00:00:27 GMT (envelope-from gnats) Resent-Date: Fri, 20 May 2011 00:00:27 GMT Resent-Message-Id: <201105200000.p4K00RA4008187@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Harmening Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81E18106566C for ; Thu, 19 May 2011 23:51:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 715DE8FC15 for ; Thu, 19 May 2011 23:51:57 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4JNpvIe004514 for ; Thu, 19 May 2011 23:51:57 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p4JNpvYt004513; Thu, 19 May 2011 23:51:57 GMT (envelope-from nobody) Message-Id: <201105192351.p4JNpvYt004513@red.freebsd.org> Date: Thu, 19 May 2011 23:51:57 GMT From: Jason Harmening To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157193: [patch] multimedia/cx88: update OSVERSION checks in makefile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2011 00:00:29 -0000 >Number: 157193 >Category: ports >Synopsis: [patch] multimedia/cx88: update OSVERSION checks in makefile >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri May 20 00:00:26 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jason Harmening >Release: 7.4-STABLE >Organization: >Environment: FreeBSD CORONA 7.4-STABLE FreeBSD 7.4-STABLE #0: Sun Apr 24 02:15:54 CDT 2011 jason@CORONA:/usr/obj/usr/src/sys/CUSTOM amd64 >Description: --Use OSVERSION instead of grep output as basis for determining whether kernel provides kmem_alloc_attr() >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN cx88/Makefile /usr/ports/multimedia/cx88/Makefile --- cx88/Makefile 2011-05-19 18:31:58.000000000 -0500 +++ /usr/ports/multimedia/cx88/Makefile 2011-05-19 18:34:55.000000000 -0500 @@ -2,7 +2,7 @@ # Date created: 7 September 2008 # Whom: jah # -# $FreeBSD: ports/multimedia/cx88/Makefile,v 1.14 2011/05/19 08:11:35 culot Exp $ +# $FreeBSD$ # PORTNAME= cx88 @@ -25,18 +25,12 @@ .include -.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 >Release-Note: >Audit-Trail: >Unformatted: