Subject: pkg/30895: MesaDemo Solaris x86 gcc
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 08/02/2005 15:38:00
>Number:         30895
>Category:       pkg
>Synopsis:       MesaDemo Solaris x86 gcc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 02 15:38:00 +0000 2005
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic i86pc


>Description:


MesaDemos-6.2.1 
bmake fail to build all in progs/xdemos 


>How-To-Repeat:


bmake in MesaDemo solaris10 gcc x86


>Fix:


# diff -u configs/solaris-x86-gcc.dist configs/solaris-x86-gcc
--- configs/solaris-x86-gcc.dist        Mon Sep 13 23:00:36 2004
+++ configs/solaris-x86-gcc     Tue Aug  2 16:50:46 2005
@@ -10,15 +10,15 @@
 CFLAGS = -O3 -m486 -fPIC -I/usr/openwin/include -DUSE_XSHM
 CXXFLAGS = -O3 -m486 -fPIC
 GLUT_CFLAGS = -fexceptions
-MKLIB_OPTIONS = -static
+#MKLIB_OPTIONS = -static
 
 GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lm -lpthread
 GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
 GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/openwin/lib -lX11 -lXmu -lXt -lXi -lm
-APP_LIB_DEPS = -L$(LIB_DIR) -L/usr/openwin/lib -R/usr/openwin/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
+APP_LIB_DEPS = -L$(LIB_DIR) -L/usr/openwin/lib -R/usr/openwin/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lm
 
-GL_LIB_NAME = libGL.a
-GLU_LIB_NAME = libGLU.a
-GLUT_LIB_NAME = libglut.a
-GLW_LIB_NAME = libGLw.a
-OSMESA_LIB_NAME = libOSMesa.a
+#GL_LIB_NAME = libGL.a
+#GLU_LIB_NAME = libGLU.a
+#GLUT_LIB_NAME = libglut.a
+#GLW_LIB_NAME = libGLw.a
+#OSMESA_LIB_NAME = libOSMesa.a