commit: 3cd8033c81d863f97ff651a2e423c1442254bc99
parent: 2889842eb8b11eabc63002f3de84e88485db9d34
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 27 Jan 2018 17:06:50 +0100
app-editors/vis: Fix docdir path
Diffstat:
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/app-editors/vis/vis-0.4.ebuild b/app-editors/vis/vis-0.4.ebuild
@@ -31,12 +31,16 @@ src_prepare() {
which vim &>/dev/null || sed -i 's/.*vim.*//' test/Makefile
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 lua) \
$(use_enable ncurses curses) \
$(use_enable selinux) \
diff --git a/app-editors/vis/vis-9999.ebuild b/app-editors/vis/vis-9999.ebuild
@@ -26,12 +26,16 @@ src_prepare() {
type -P vim &>/dev/null || sed -i 's/.*vim.*//' 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 lua) \
$(use_enable ncurses curses) \
$(use_enable selinux) \