--- xorg-server-1.4-r2.ebuild.orig 2007-10-14 20:11:04.000000000 -0400 +++ xorg-server-1.4-r2.ebuild 2007-10-14 19:19:29.000000000 -0400 @@ -281,6 +281,7 @@ ${FILESDIR}/${PV}-fix-xephyr-link.patch ${FILESDIR}/${PV}-fix-xprint-build.patch ${FILESDIR}/${PV}-fix-xprint-link.patch + ${FILESDIR}/${PV}-fix-kdrive-automake.patch " pkg_setup() { @@ -486,14 +487,6 @@ fi done - - # smi and via are the only things on line 2. If line 2 ends up blank, - # we need to get rid of the backslash at the end of line 1. - if ! use video_cards_siliconmotion && ! use video_cards_via; then - sed -i \ - -e "s:^\(VESA_SUBDIRS.*\)\\\:\1:g" \ - "${S}"/hw/kdrive/Makefile.am - fi } dynamic_libgl_install() {