diff --git a/media-gfx/libimagequant/libimagequant-2.12.2.ebuild b/media-gfx/libimagequant/libimagequant-2.12.2.ebuild index de044c9bcfc78..ef2a9b8c654ae 100644 --- a/media-gfx/libimagequant/libimagequant-2.12.2.ebuild +++ b/media-gfx/libimagequant/libimagequant-2.12.2.ebuild @@ -30,8 +30,8 @@ src_configure() { tc-export AR CC # Hand rolled configure script, so not all flags are supported. ./configure \ - --prefix="${EPREFIX%/}/usr" \ - --libdir="${EPREFIX%/}/usr/$(get_libdir)" \ + --prefix="${EPREFIX}/usr" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ $(use debug && echo --enable-debug) \ $(use_enable cpu_flags_x86_sse2 sse) \ $(use_with openmp) \ diff --git a/media-gfx/libimagequant/libimagequant-2.12.3.ebuild b/media-gfx/libimagequant/libimagequant-2.12.3.ebuild index 0537454266996..c04b34f09632b 100644 --- a/media-gfx/libimagequant/libimagequant-2.12.3.ebuild +++ b/media-gfx/libimagequant/libimagequant-2.12.3.ebuild @@ -30,8 +30,8 @@ src_configure() { tc-export AR CC # Hand rolled configure script, so not all flags are supported. ./configure \ - --prefix="${EPREFIX%/}/usr" \ - --libdir="${EPREFIX%/}/usr/$(get_libdir)" \ + --prefix="${EPREFIX}/usr" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ $(use debug && echo --enable-debug) \ $(use_enable cpu_flags_x86_sse2 sse) \ $(use_with openmp) \