Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2002 20:46:27 +0200 (CEST)
From:      Svein Skogen <tds@dmnstech.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41854: DRM built in linux-mode at all times
Message-ID:  <200208211846.g7LIkRXn000940@halleys.dmnstech.net>

next in thread | raw e-mail | index | archive | help

>Number:         41854
>Category:       ports
>Synopsis:       DRM built in linux-mode at all times
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 21 11:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Svein Skogen
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD halleys.dmnstech.net 4.6-STABLE FreeBSD 4.6-STABLE #11: Sat Aug 17 13:13:55 CEST 2002 tds@halleys.dmnstech.net:/usr/obj/usr/src/sys/A31p i386


Description:
Even when not explicitly asking the port to build linux compatibility shims,
the drm-kmod port always builds for linux compatibility (undocumented). As a
result, users with no other need for linux-compatibility (application layer)
are forced to enable it for the DRM. This is undocumented, and since linux is
not in the makefile dependancies of drm-kmod considered a bug.

According to the makefile, my version is this:

# $FreeBSD: ports/graphics/drm-kmod/Makefile,v 1.6 2002/07/13 02:39:28 pat Exp

PORTVERSION=    0.9.5
PORTREVISION=   1

This is also the case for /usr/ports/x11-servers/XFree86-4-Server/

# $FreeBSD: ports/x11-servers/XFree86-4-Server/Makefile,v 1.116 2002/08/05 07:26:11 anholt Exp $

PORTVERSION=    4.2.0
PORTREVISION=   5


Since (myself) i would like to have DRI/DRM without being forced to run
linux-compatibility, I believe the correct fix would be to only compile in
linux-mode when defined DRM_LINUX, as the makefiles in the individual hardware
modules suggest.

How-To-Repeat:
cd /usr/ports/graphics/drm-kmod && make build



>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208211846.g7LIkRXn000940>