51 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
52 |
mirror://${PNAME}/libGLU.la |
mirror://${PNAME}/libGLU.la |
53 |
mirror://${PNAME}/libGL.la |
mirror://${PNAME}/libGL.la |
|
mirror://${PNAME}/${PNAME}-${PVER}-libdrm-fix.patch |
|
54 |
) |
) |
55 |
|
|
56 |
UP2DATE="updatecmd_sourceforge mesa3d MesaLib" |
UP2DATE="updatecmd_sourceforge mesa3d MesaLib" |
59 |
{ |
{ |
60 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
61 |
|
|
|
# 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 |
|
|
|
|
62 |
# no debug code in the drives (gentoo) |
# no debug code in the drives (gentoo) |
63 |
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/" ;' |
64 |
|
|