pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/30894: MesaLib-6.2.1nb2 Solaris x86



>Number:         30894
>Category:       pkg
>Synopsis:       MesaLib-6.2.1nb2 Solaris x86
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 02 12:51: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-6.2.1nb2 won't link  solaris x86 gcc.


>How-To-Repeat:





>Fix:


I apply the following patch, and now it works, also for GLU GLUT

# cd pkgsrc/graphics/MesaLib/work/Mesa-6.2.1/configs
# diff -u solaris-x86-gcc.dist solaris-x86-gcc
--- solaris-x86-gcc.dist        Mon Sep 13 23:00:36 2004
+++ solaris-x86-gcc     Tue Aug  2 11:53:54 2005
@@ -10,7 +10,7 @@
 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
@@ -17,8 +17,8 @@
 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
 
-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







Home | Main Index | Thread Index | Old Index