commit:     e7fee2d13c919f83af68e852924be8f2a7a49dc2
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sat Jan 27 15:41:39 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb  9 16:36:15 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7fee2d1

app-editors/vis: Fix docdir path and unnecessary LICENSE

 app-editors/vis/vis-0.4.ebuild  | 4 ++++
 app-editors/vis/vis-9999.ebuild | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/app-editors/vis/vis-0.4.ebuild b/app-editors/vis/vis-0.4.ebuild
index a9a7da4eedf..ebea43f7b24 100644
--- a/app-editors/vis/vis-0.4.ebuild
+++ b/app-editors/vis/vis-0.4.ebuild
@@ -31,12 +31,16 @@ src_prepare() {
                fi
        fi
 
+       sed -i 's|${DOCPREFIX}/vis|${DOCPREFIX}|' Makefile || die
+       sed -i 's|DOCUMENTATION = LICENSE|DOCUMENTATION =|' Makefile || die
+
        default
 }
 
 src_configure() {
        ./configure \
                --prefix="${EROOT}usr" \
+               --docdir="${EROOT}usr/share/doc/${PF}" \
                $(use_enable ncurses curses) \
                $(use_enable selinux) \
                $(use_enable tre) || die

diff --git a/app-editors/vis/vis-9999.ebuild b/app-editors/vis/vis-9999.ebuild
index 126135a1bb2..d0df6f95e96 100644
--- a/app-editors/vis/vis-9999.ebuild
+++ b/app-editors/vis/vis-9999.ebuild
@@ -25,12 +25,16 @@ src_prepare() {
                sed -i 's/.*vim.*//' "${S}/test/Makefile" || die
        fi
 
+       sed -i 's|${DOCPREFIX}/vis|${DOCPREFIX}|' Makefile || die
+       sed -i 's|DOCUMENTATION = LICENSE|DOCUMENTATION =|' Makefile || die
+
        default
 }
 
 src_configure() {
        ./configure \
                --prefix="${EROOT}usr" \
+               --docdir="${EROOT}usr/share/doc/${PF}" \
                $(use_enable ncurses curses) \
                $(use_enable selinux) \
                $(use_enable tre) || die

Reply via email to