diff options
author | Sam James <sam@gentoo.org> | 2021-04-22 22:09:44 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-22 22:14:58 +0100 |
commit | 4c2568c7fa9da91667da1862ea687938b5967cc5 (patch) | |
tree | a31aae17c1ac5a3290d518b9edb84d2d739e5d49 /app-misc | |
parent | www-apps/liquid_feedback_frontend: drop unused eutils inherit (diff) | |
download | gentoo-4c2568c7fa9da91667da1862ea687938b5967cc5.tar.gz gentoo-4c2568c7fa9da91667da1862ea687938b5967cc5.tar.bz2 gentoo-4c2568c7fa9da91667da1862ea687938b5967cc5.zip |
app-misc/nnn: respect EPREFIX
Closes: https://bugs.gentoo.org/784614
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/nnn/nnn-3.6.ebuild | 5 | ||||
-rw-r--r-- | app-misc/nnn/nnn-4.0.ebuild | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/app-misc/nnn/nnn-3.6.ebuild b/app-misc/nnn/nnn-3.6.ebuild index eb39936f75b4..0bd65a6f5bf1 100644 --- a/app-misc/nnn/nnn-3.6.ebuild +++ b/app-misc/nnn/nnn-3.6.ebuild @@ -21,13 +21,12 @@ src_prepare() { default tc-export CC sed -i -e '/install: all/install:/' Makefile || die "sed failed" - } src_install() { - emake PREFIX="/usr" DESTDIR="${D}" install + emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install - emake PREFIX="/usr" DESTDIR="${D}" install-desktop + emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install-desktop newbashcomp misc/auto-completion/bash/nnn-completion.bash nnn diff --git a/app-misc/nnn/nnn-4.0.ebuild b/app-misc/nnn/nnn-4.0.ebuild index eb39936f75b4..0bd65a6f5bf1 100644 --- a/app-misc/nnn/nnn-4.0.ebuild +++ b/app-misc/nnn/nnn-4.0.ebuild @@ -21,13 +21,12 @@ src_prepare() { default tc-export CC sed -i -e '/install: all/install:/' Makefile || die "sed failed" - } src_install() { - emake PREFIX="/usr" DESTDIR="${D}" install + emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install - emake PREFIX="/usr" DESTDIR="${D}" install-desktop + emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install-desktop newbashcomp misc/auto-completion/bash/nnn-completion.bash nnn |