--- enca-1.13-r2.ebuild 2012-06-29 18:09:50.000000000 -0400 +++ enca-1.13-r3.ebuild 2012-06-29 18:10:55.000000000 -0400 @@ -4,7 +4,7 @@ EAPI="4" -inherit toolchain-funcs autotools-utils +inherit eutils toolchain-funcs autotools-utils DESCRIPTION="ENCA detects the character coding of a file and converts it if desired" HOMEPAGE="http://gitorious.org/enca" @@ -18,6 +18,11 @@ DEPEND="recode? ( >=app-text/recode-3.6_p15 )" RDEPEND="${DEPEND}" +src_prepare() { + epatch "${FILESDIR}"/${PN}-remove-dirty-path-hack.patch + autotools-utils_src_prepare +} + src_configure() { local myeconfargs=( --enable-external