Skip to content

Commit

Permalink
app-misc/nnn: respect EPREFIX
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/784614
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 22, 2021
1 parent e7503bb commit 4c2568c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions app-misc/nnn/nnn-3.6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 2 additions & 3 deletions app-misc/nnn/nnn-4.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4c2568c

Please sign in to comment.