--- wxGTK-2.8.12.1.ebuild.old 2012-05-31 22:31:29.000000000 +0900 +++ wxGTK-2.8.12.1.ebuild 2012-06-08 20:57:54.794521285 +0900 @@ -72,6 +72,7 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-2.8.10.1-odbc-defines.patch # Bug #310923 sed \ -e "/wx_cv_std_libpath/s: /usr: ${EPREFIX}/usr:g" \ + -e '/SEARCH_INCLUDE="\\/,/"/cSEARCH_INCLUDE="'${EPREFIX}'/usr/include"' \ -i configure || die } @@ -106,7 +107,7 @@ src_configure() { --with-libjpeg=sys $(use_enable gstreamer mediactrl) $(use_enable opengl) - $(use_with opengl) + $(use_with opengl opengl \"${EPREFIX}\"/usr) $(use_with gnome gnomeprint) --without-gnomevfs"