Subject: pkg/30581: Mesa - Solaris 10 - i386
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 06/23/2005 13:01:00
>Number:         30581
>Category:       pkg
>Synopsis:       Mesa - Solaris 10 - i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 23 13:01:00 +0000 2005
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic i86pc


>Description:


MesaLib won't install on SunOS 5.10 AMD opteron



>How-To-Repeat:


cd pkgsrc/graphics/MesaLib
bmake install


>Fix:


It is a workaround

Here is the begining of MesaLib/Makefile:

# $NetBSD: Makefile,v 1.38 2004/10/31 00:53:10 minskim Exp $

PKGNAME=        MesaLib-${MESA_VERSION}
COMMENT=        Graphics library similar to SGI's OpenGL

.include "../Mesa/Makefile.common"

INSTLIBS=       ${WRKSRC}/src/mesa/libGL.la \
                ${WRKSRC}/src/glw/libGLw.la \
                ${WRKSRC}/src/mesa/libOSMesa.la

#work around for Solaris 5.10
.if ${OPSYS} == "SunOS" && ${OS_VERSION} == "5.10"
INSTLIBS=       ${WRKSRC}/src/mesa/libGL.a \
                ${WRKSRC}/src/glw/libGLw.a \
                ${WRKSRC}/src/mesa/libOSMesa.a

.endif
...
------------------------------------------------------------
glu/Makefile
# $NetBSD: Makefile,v 1.39 2005/06/01 18:02:56 jlam Exp $

PKGNAME=        ${DISTNAME:C/MesaLib/glu/}
COMMENT=        GLU polygon tessellation facility for Mesa

CONFLICTS+=     Mesa-glx-[0-9]*
CONFLICTS+=     Mesa<3.2.1

.include "../Mesa/Makefile.common"

USE_LANGUAGES=  c c++

INSTLIBS=       ${WRKSRC}/src/glu/sgi/libGLU.la

.if ${OPSYS} == "SunOS" && ${OS_VERSION} == "5.10"
INSTLIBS=       ${WRKSRC}/src/glu/sgi/libGLU.a
.endif
-------------------------------------------------------------------------