--- /usr/portage/media-libs/mesa/mesa-7.1.ebuild 2008-09-06 09:03:40.000000000 +0200 +++ /usr/local/portage/media-libs/mesa/mesa-7.1.ebuild 2008-09-09 02:26:06.000000000 +0200 @@ -114,6 +114,10 @@ einfo "Removing DO_DEBUG defs in dri drivers..." 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/" ; fi + #bug 236851 + sed -e 's|Requires:|Requires: libdrm|' \ + -i "${S}"/src/mesa/gl.pc.in \ + || die "sed gl.pc.in failed" } src_compile() {