commit:     9566c9c8bad5b9ccf8582d61c0b747e4c8c7c16f
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 16:52:11 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb  8 16:52:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9566c9c8

sci-libs/pastix: [QA] Fix UnnecessarySlashStrip

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 2 +-
 sci-libs/pastix/pastix-5.2.3.ebuild       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild 
b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
index 2b4809a5bde..812c67fafe8 100644
--- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
+++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
@@ -56,7 +56,7 @@ src_prepare() {
                -e "s:^\(CCFOPT\s*=\).*:\1 ${FFLAGS}:" \
                -e "s:^\(CCFDEB\s*=\).*:\1 ${FFLAGS}:" \
                -e 's:^\(EXTRALIB\s*=\).*:\1 -lm -lrt:' \
-               -e "s:^#\s*\(ROOT\s*=\).*:\1 \$(DESTDIR)${EPREFIX%/}/usr:" \
+               -e "s:^#\s*\(ROOT\s*=\).*:\1 \$(DESTDIR)${EPREFIX}/usr:" \
                -e 's:^#\s*\(INCLUDEDIR\s*=\).*:\1 $(ROOT)/include:' \
                -e 's:^#\s*\(BINDIR\s*=\).*:\1 $(ROOT)/bin:' \
                -e "s:^#\s*\(LIBDIR\s*=\).*:\1 \$(ROOT)/$(get_libdir):" \

diff --git a/sci-libs/pastix/pastix-5.2.3.ebuild 
b/sci-libs/pastix/pastix-5.2.3.ebuild
index de4649c9db4..430541e32cd 100644
--- a/sci-libs/pastix/pastix-5.2.3.ebuild
+++ b/sci-libs/pastix/pastix-5.2.3.ebuild
@@ -45,7 +45,7 @@ src_prepare() {
                -e "s:^\(CCFOPT\s*=\).*:\1 ${FFLAGS}:" \
                -e "s:^\(CCFDEB\s*=\).*:\1 ${FFLAGS}:" \
                -e 's:^\(EXTRALIB\s*=\).*:\1 -lm -lrt:' \
-               -e "s:^#\s*\(ROOT\s*=\).*:\1 \$(DESTDIR)${EPREFIX%/}/usr:" \
+               -e "s:^#\s*\(ROOT\s*=\).*:\1 \$(DESTDIR)${EPREFIX}/usr:" \
                -e 's:^#\s*\(INCLUDEDIR\s*=\).*:\1 $(ROOT)/include:' \
                -e 's:^#\s*\(BINDIR\s*=\).*:\1 $(ROOT)/bin:' \
                -e "s:^#\s*\(LIBDIR\s*=\).*:\1 \$(ROOT)/$(get_libdir):" \

Reply via email to