Magellan Linux

Diff of /smage/trunk/extras/mesa/mesa-7.8.1-r1.smage2

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

revision 583 by niro, Wed Oct 13 20:45:40 2010 UTC revision 586 by niro, Wed Oct 13 21:01:56 2010 UTC
# Line 37  SDEPEND=">= dev-util/pkgconfig-0.23 Line 37  SDEPEND=">= dev-util/pkgconfig-0.23
37    
38  PROVIDE="virtual/opengl"  PROVIDE="virtual/opengl"
39    
40    MCORE_ONLY_KEEP="etc/env.d"
41    MCORE_DEV_ONLY_KEEP="usr/$(mlibdir)/opengl/xorg/include"
42    
43  # must be set before the include of multilib!  # must be set before the include of multilib!
44  EMUL_LINUX_32=true  EMUL_LINUX_32=true
45  sminclude xorg mtools multilib mcore-split  sminclude xorg mtools multilib mcore-split
# Line 51  SRC_URI=( Line 54  SRC_URI=(
54   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
55   mirror://${PNAME}/libGLU.la   mirror://${PNAME}/libGLU.la
56   mirror://${PNAME}/libGL.la   mirror://${PNAME}/libGL.la
  mirror://${PNAME}/${PNAME}-${PVER}-libdrm-fix.patch  
57  )  )
58    
59  UP2DATE="updatecmd_sourceforge mesa3d MesaLib"  UP2DATE="updatecmd_sourceforge mesa3d MesaLib"
# Line 60  src_prepare() Line 62  src_prepare()
62  {  {
63   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
64    
  # fix build issues with libdrm-2.4.20  
  # see: https://bugs.freedesktop.org/show_bug.cgi?id=27612  
  mpatch ${PNAME}-${PVER}-libdrm-fix.patch || die  
   
65   # no debug code in the drives (gentoo)   # no debug code in the drives (gentoo)
66   all-abis 'find src/mesa/drivers/dri -name *.[hc] -exec egrep -l "\#define\W+DO_DEBUG\W+1" {} \; | xargs sed -i -re "s/\#define\W+DO_DEBUG\W+1/\#define DO_DEBUG 0/" ;'   all-abis 'find src/mesa/drivers/dri -name *.[hc] -exec egrep -l "\#define\W+DO_DEBUG\W+1" {} \; | xargs sed -i -re "s/\#define\W+DO_DEBUG\W+1/\#define DO_DEBUG 0/" ;'
67    

Legend:
Removed from v.583  
changed lines
  Added in v.586