Index: wxGTK-2.8.12.1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild,v retrieving revision 1.11 diff -u -B -r1.11 wxGTK-2.8.12.1.ebuild --- wxGTK-2.8.12.1.ebuild 31 May 2012 13:25:49 -0000 1.11 +++ wxGTK-2.8.12.1.ebuild 12 Jun 2012 02:37:54 -0000 @@ -71,8 +71,9 @@ epatch "${FILESDIR}"/${PN}-2.8.7-mmedia.patch # Bug #174874 epatch "${FILESDIR}"/${PN}-2.8.10.1-odbc-defines.patch # Bug #310923 sed \ - -e "/wx_cv_std_libpath/s: /usr: ${EPREFIX}/usr:g" \ - -i configure || die + -e "s:/usr:${EPREFIX}/usr:g" \ + -e '/SEARCH_INCLUDE="\\/,/"/cSEARCH_INCLUDE="'${EPREFIX}'/usr/include"' \ + -i configure || die "sed on configure failed" } src_configure() { @@ -105,7 +106,6 @@ --with-libxpm=sys --with-libjpeg=sys $(use_enable gstreamer mediactrl) - $(use_enable opengl) $(use_with opengl) $(use_with gnome gnomeprint) --without-gnomevfs"