Magellan Linux

Diff of /branches/magellan-next/core/mesa/mesa-7.10.2-r1.smage2

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

revision 7723 by niro, Mon May 30 14:13:21 2011 UTC revision 7724 by niro, Mon May 30 14:19:17 2011 UTC
# Line 47  sminclude xorg mtools multilib Line 47  sminclude xorg mtools multilib
47    
48  # not the same version anymore  # not the same version anymore
49  MESA_PROGS_PVER="8.0.1"  MESA_PROGS_PVER="8.0.1"
50    MESA_PROGS_SRCFILE="mesa-demos-${MESA_PROGS_PVER}.tar.bz2"
51    MESA_PROGS_SRCDIR="${BUILDDIR}/mesa-demos-${MESA_PROGS_PVER}"
52    
53  # must be set *after* the include of xorg!  # must be set *after* the include of xorg!
54  SRCFILE="MesaLib-${PVER/_/-}.tar.bz2"  SRCFILE="MesaLib-${PVER/_/-}.tar.bz2"
55  MESA_PROGS_SRCFILE="mesa-demos-${MESA_PROGS_PVER}.tar.bz2"  # libs SRCDIR
 # libs + progs have the same SRCDIR  
56  SRCDIR="${BUILDDIR}/Mesa-${PVER/_/-}"  SRCDIR="${BUILDDIR}/Mesa-${PVER/_/-}"
57    
58  SPLIT_PACKAGES="mesa  SPLIT_PACKAGES="mesa
# Line 202  split_info_mesa-dri-unichrome() Line 203  split_info_mesa-dri-unichrome()
203  src_prepare()  src_prepare()
204  {  {
205   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
206   all-abis "oldmunpack ${MESA_PROGS_SRCFILE} && cp -R ${SRCDIR}/* ${SRCDIR}-$(mabi)/" || die   all-abis "oldmunpack ${MESA_PROGS_SRCFILE} && cp -R ${MESA_PROGS_SRCDIR}/* ${SRCDIR}-$(mabi)/" || die
207    
208   # no debug code in the drives (gentoo)   # no debug code in the drives (gentoo)
209   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/" ;'

Legend:
Removed from v.7723  
changed lines
  Added in v.7724