summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-08 17:21:42 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-08 17:21:42 +0100
commit49e862c70ba14ee8f43bc690f1c36951df812dbb (patch)
treeff1686f7a5c68744c99020c9b0b3514e24111807 /dev-libs/libowfat
parentdev-libs/libmspack: [QA] Fix UnnecessarySlashStrip (diff)
downloadgentoo-49e862c70ba14ee8f43bc690f1c36951df812dbb.tar.gz
gentoo-49e862c70ba14ee8f43bc690f1c36951df812dbb.tar.bz2
gentoo-49e862c70ba14ee8f43bc690f1c36951df812dbb.zip
dev-libs/libowfat: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/libowfat')
-rw-r--r--dev-libs/libowfat/libowfat-0.32-r1.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/dev-libs/libowfat/libowfat-0.32-r1.ebuild b/dev-libs/libowfat/libowfat-0.32-r1.ebuild
index 622656e3a5f3..8fcd920a4772 100644
--- a/dev-libs/libowfat/libowfat-0.32-r1.ebuild
+++ b/dev-libs/libowfat/libowfat-0.32-r1.ebuild
@@ -27,19 +27,19 @@ src_compile() {
emake \
CC=$(tc-getCC) \
CFLAGS="-I. ${CFLAGS}" \
- DIET="${EPREFIX%/}/usr/bin/diet -Os" \
- prefix="${EPREFIX%/}/usr" \
- INCLUDEDIR="${EPREFIX%/}/usr/include" \
+ DIET="${EPREFIX}/usr/bin/diet -Os" \
+ prefix="${EPREFIX}/usr" \
+ INCLUDEDIR="${EPREFIX}/usr/include" \
$( use diet || echo 'DIET=' )
}
src_install() {
emake \
- DESTDIR="${D%/}" \
- LIBDIR="${EPREFIX%/}/usr/$(get_libdir)" \
- MAN3DIR="${EPREFIX%/}/usr/share/man/man3" \
- INCLUDEDIR="${EPREFIX%/}/usr/include" \
+ DESTDIR="${D}" \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ MAN3DIR="${EPREFIX}/usr/share/man/man3" \
+ INCLUDEDIR="${EPREFIX}/usr/include" \
install
- mv "${ED%/}"/usr/share/man/man3/{buffer.3,owfat-buffer.3} || die
+ mv "${ED}"/usr/share/man/man3/{buffer.3,owfat-buffer.3} || die
}