Date: Sun, 7 Apr 2002 02:01:59 +0200 (CEST) From: Matthias Buelow <mkb@altair.mukappabeta.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36828: Mesa3 port broken when using XFREE86_VERSION=4 Message-ID: <20020407000159.B48C7341@altair.mukappabeta.net>
next in thread | raw e-mail | index | archive | help
>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 <ports>/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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020407000159.B48C7341>