--- /usr/portage/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild 2013-10-31 13:01:09.000000000 -0700 +++ hidapi-0.8.0_pre20130121.ebuild 2013-12-12 12:55:52.243968061 -0800 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_pre20130121.ebuild,v 1.2 2013/10/31 19:48:09 blueness Exp $ -EAPI=4 +EAPI=5 inherit autotools eutils #git-2 @@ -31,6 +31,10 @@ X? ( x11-libs/fox )" src_prepare() { + if use X && has_version x11-libs/fox:1.7 ; then + sed -i -e 's:PKG_CHECK_MODULES(\[fox\], \[fox\]):PKG_CHECK_MODULES(\[fox\], \[fox17\]):' configure.ac || die + fi + eautoreconf }