From 4c2568c7fa9da91667da1862ea687938b5967cc5 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 22 Apr 2021 22:09:44 +0100 Subject: app-misc/nnn: respect EPREFIX Closes: https://bugs.gentoo.org/784614 Signed-off-by: Sam James --- app-misc/nnn/nnn-3.6.ebuild | 5 ++--- app-misc/nnn/nnn-4.0.ebuild | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'app-misc/nnn') 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 -- cgit v1.2.3-65-gdbad