Subject: pkg/30684: Mesa MesaLib (solaris and all system)
To: None <,,>
From: Gilles Dauphin <>
List: pkgsrc-bugs
Date: 07/07/2005 09:04:00
>Number:         30684
>Category:       pkg
>Synopsis:       Mesa MesaLib (solaris and all system)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 07 09:04:00 +0000 2005
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc

System: SunOS 5.10 Generic i86pc


Mesa won't compile on Solaris. (pkg/30581 followup)


bmake in MesaLib on Solaris10


What's the Mesa dev's say in RELNOTES-5.1:
Build System Changes

The GNU automake/autoconf support has been removed.  As it was, it seldom
worked on anything but Linux.  The Mesa developers aren't big fans of
automake/autoconf/libtool and didn't have the time to maintain it.
If someone wants to contribute new automake/autoconf support (and is
willing to maintain it), it may be re-incorporated into Mesa, subject
to some requirements.

The "old style" makefile system has been updated:
   1. Make-config has been trimmed down to fewer, modern configurations.
   2. Most of the bin/mklib.* scripts have been rolled into a new "mklib"
      script that works on all sorts of systems.  There are probably some
      bugs in it, but it's been tested on Linux, SunOS 5.8 and IRIX 6.5.
      Improvements/contributes are greatly appreciated.
   3. The Makefile.X11 files have been cleaned up in various ways
# pwd
# diff Makefile.common Makefile.common.dist 
< #USE_LIBTOOL=         yes
< USE_LIBTOOL=           no
> USE_LIBTOOL=          yes

# cd ../MesaLib
# diff PLIST _PLIST.dist
< lib/libGL.a
< lib/libGLw.a
< lib/libOSMesa.a
> lib/
> lib/
> lib/

# diff Makefile Makefile.dist
< #INSTLIBS=    ${WRKSRC}/src/mesa/ \
< #             ${WRKSRC}/src/glw/ \
< #             ${WRKSRC}/src/mesa/
> INSTLIBS=     ${WRKSRC}/src/mesa/ \
>               ${WRKSRC}/src/glw/ \
>               ${WRKSRC}/src/mesa/
< INSTLIBS=     ${WRKSRC}/src/mesa/libGL.a \
<               ${WRKSRC}/src/glw/libGLw.a \
<               ${WRKSRC}/src/mesa/libOSMesa.a