summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/hiredis')
-rw-r--r--dev-libs/hiredis/hiredis-0.14.0.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-libs/hiredis/hiredis-0.14.0.ebuild b/dev-libs/hiredis/hiredis-0.14.0.ebuild
index e9e551acd1a5..c87b5ddc5a1f 100644
--- a/dev-libs/hiredis/hiredis-0.14.0.ebuild
+++ b/dev-libs/hiredis/hiredis-0.14.0.ebuild
@@ -29,7 +29,7 @@ _build() {
emake \
AR="$(tc-getAR)" \
CC="$(tc-getCC)" \
- PREFIX="${EPREFIX%/}/usr" \
+ PREFIX="${EPREFIX}/usr" \
LIBRARY_PATH="$(get_libdir)" \
ARCH= \
DEBUG= \
@@ -65,9 +65,9 @@ src_test() {
}
src_install() {
- _build PREFIX="${ED%/}/usr" install
+ _build PREFIX="${ED}/usr" install
if ! use static-libs; then
- rm "${ED%/}/usr/$(get_libdir)/libhiredis.a" || die
+ rm "${ED}/usr/$(get_libdir)/libhiredis.a" || die
fi
insinto /usr/$(get_libdir)/pkgconfig