Subject: pkg/20878: graphics/MesaLib does not install all necessary headers
To: None <gnats-bugs@gnats.netbsd.org>
From: None <joachim@cms.tecmath.com>
List: netbsd-bugs
Date: 03/24/2003 14:59:10
>Number: 20878
>Category: pkg
>Synopsis: graphics/MesaLib does not install all necessary headers
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Mar 24 06:03:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Joachim Koenig-Baltes
>Release: NetBSD 1.6Q
>Organization:
>Environment:
System: NetBSD compaq 1.6Q NetBSD 1.6Q (JOACHIM_ISDN) #0: Thu Mar 20 11:45:13 CET 2003 joachim@compaq:/usr/src/sys/arch/i386/compile/JOACHIM_ISDN i386
Architecture: i386
Machine: i386
>Description:
graphics/MesaLib does not install include/GL/glxext.h, but include/GL/glx.h
wants it.
>How-To-Repeat:
try e.g. to install graphics/mplayer on a system that does not get its
MesaLib from xsrc, e.g. on Suse Linux 8.1 Professional, e.g. where MesaLib got
installed from pkgsrc and see the build fail due to a missing <GL/glxext.h>
>Fix:
apply the following two patches:
--- Makefile.orig 2003-03-10 10:27:36.000000000 +0100
+++ Makefile 2003-03-24 12:19:38.000000000 +0100
@@ -35,7 +35,8 @@
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/GL
cd ${WRKSRC}/include/GL; for hdr in \
- gl.h gl_mangle.h glext.h glx.h glx_mangle.h osmesa.h \
+ gl.h gl_mangle.h glext.h \
+ glx.h glxext.h glx_mangle.h osmesa.h \
xmesa.h xmesa_x.h xmesa_xf86.h; \
do \
${INSTALL_DATA} $${hdr} ${PREFIX}/include/GL; \
--- PLIST.orig 2003-03-10 10:27:36.000000000 +0100
+++ PLIST 2003-03-24 12:19:53.000000000 +0100
@@ -4,6 +4,7 @@
include/GL/gl_mangle.h
include/GL/glext.h
include/GL/glx.h
+include/GL/glxext.h
include/GL/glx_mangle.h
include/GL/osmesa.h
include/GL/xmesa.h
>Release-Note:
>Audit-Trail:
>Unformatted: