From owner-freebsd-ports Sat Apr 6 16:10:10 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7B92637B417 for ; Sat, 6 Apr 2002 16:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g370A1c25195; Sat, 6 Apr 2002 16:10:01 -0800 (PST) (envelope-from gnats) Received: from altair.mukappabeta.net (altair.mukappabeta.net [194.145.150.157]) by hub.freebsd.org (Postfix) with ESMTP id 7D0A837B417 for ; Sat, 6 Apr 2002 16:01:59 -0800 (PST) Received: by altair.mukappabeta.net (Postfix, from userid 1001) id B48C7341; Sun, 7 Apr 2002 02:01:59 +0200 (CEST) Message-Id: <20020407000159.B48C7341@altair.mukappabeta.net> Date: Sun, 7 Apr 2002 02:01:59 +0200 (CEST) From: Matthias Buelow Reply-To: Matthias Buelow To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36828: Mesa3 port broken when using XFREE86_VERSION=4 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36828 >Category: ports >Synopsis: Mesa3 port broken when using XFREE86_VERSION=4 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 06 16:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Matthias Buelow >Release: FreeBSD 4.5-20020326-STABLE i386 >Organization: >Environment: System: FreeBSD altair.mukappabeta.net 4.5-20020326-STABLE FreeBSD 4.5-20020326-STABLE #2: Sun Mar 31 18:23:50 CEST 2002 root@altair.mukappabeta.net:/usr2/src/sys/compile/ALTAIR i386 >Description: When XFREE86_VERSION > 3 (such as you'd specify when using the XFree 4.2.0 port), the graphics/Mesa3 (Mesa-3.4.2_2) port doesn't install header files so you can't compile GL programs. Mesa3 ports entry revision: # $FreeBSD: ports/graphics/Mesa3/Makefile,v 1.51 2001/11/27 11:31:45 sobomax Exp $ >How-To-Repeat: Remove any installed Mesa3 pkg and cd /graphics/Mesa3 and install via "make install XFREE86_VERSION=4". See that the /usr/X11R6/include/GL directory doesn't contain gl.h etc. When built for XFree <4 (i.e., using software rendering), the relevant files are installed. >Fix: The Makefile should be fixed by the package maintainer. A workaround is to first install the unaccelerated Mesa3 version by not defining XFREE86_VERSION=4 and then install the accelerated version over it via the FORCE_PKG_REGISTER kludge (you probably also have to put in two symlinks, libGL.so.14 ("unaccelerated version") -> libGL.so.1 ("accelerated version"), same for libGLU so that it works with programs previously linked against the unaccelerated install, or for ports like xscreensaver who seem to always want to install the unaccelerated version, no matter what value XFREE86_VERSION has.) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message