Magellan Linux

Diff of /trunk/core/mesa/mesa-7.4.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1507 by niro, Sun May 10 09:28:32 2009 UTC revision 1508 by niro, Sun May 10 15:19:37 2009 UTC
# Line 10  STATE="unstable" Line 10  STATE="unstable"
10  DESCRIPTION="Mesa3D OpenGL graphics library."  DESCRIPTION="Mesa3D OpenGL graphics library."
11  HOMEPAGE="http://mesa3d.sourceforge.net/"  HOMEPAGE="http://mesa3d.sourceforge.net/"
12    
 sminclude xorg mtools multilib  
   
13  DEPEND=">= dev-libs/expat-2  DEPEND=">= dev-libs/expat-2
14   >= x11-libs/libX11-1   >= x11-libs/libX11-1
15   >= x11-libs/libXext-1   >= x11-libs/libXext-1
# Line 43  PROVIDE="virtual/opengl" Line 41  PROVIDE="virtual/opengl"
41  SRCFILE="MesaLib-${PVER/_/-}.tar.gz"  SRCFILE="MesaLib-${PVER/_/-}.tar.gz"
42  SRCDIR="${BUILDDIR}/Mesa-${PVER/_/-}"  SRCDIR="${BUILDDIR}/Mesa-${PVER/_/-}"
43    
44    # must be set before the include of multilib!
45    EMUL_LINUX_32=true
46    sminclude xorg mtools multilib
47    
48  SRC_URI=(  SRC_URI=(
49   sourceforge://mesa3d/${SRCFILE}   sourceforge://mesa3d/${SRCFILE}
50   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
# Line 52  SRC_URI=( Line 54  SRC_URI=(
54    
55  UP2DATE="updatecmd_sourceforge mesa3d MesaLib"  UP2DATE="updatecmd_sourceforge mesa3d MesaLib"
56    
 EMUL_LINUX_32=true  
   
57  src_prepare()  src_prepare()
58  {  {
59   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
# Line 80  src_compile() Line 80  src_compile()
80   --enable-glw \   --enable-glw \
81   || die   || die
82    
83   # only build software renderer on multilib arches   # only build software renderer on multilib arches
84   if [[ ${ARCH} = x86_64 ]]   if [[ ${ARCH} = x86_64 ]]
85   then   then
86   only-m32 "echo 'DRI_DIRS =' >> configs/autoconf" || die   only-m32 "echo 'DRI_DIRS =' >> configs/autoconf" || die
87   fi   fi
88    
89   mmake -j1 || die   mmake || die
90  }  }
91    
92  src_install()  src_install()

Legend:
Removed from v.1507  
changed lines
  Added in v.1508