summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-01-27 16:41:39 +0100
committerMichał Górny <mgorny@gentoo.org>2018-02-09 17:36:15 +0100
commite7fee2d13c919f83af68e852924be8f2a7a49dc2 (patch)
tree19a50045336e316997617d29f48f0cb40a89112d /app-editors
parentapp-editors/vis: use ./configure instead of econf (diff)
downloadgentoo-e7fee2d13c919f83af68e852924be8f2a7a49dc2.tar.gz
gentoo-e7fee2d13c919f83af68e852924be8f2a7a49dc2.tar.bz2
gentoo-e7fee2d13c919f83af68e852924be8f2a7a49dc2.zip
app-editors/vis: Fix docdir path and unnecessary LICENSE
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/vis/vis-0.4.ebuild4
-rw-r--r--app-editors/vis/vis-9999.ebuild4
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
index a9a7da4eedff..ebea43f7b246 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 126135a1bb23..d0df6f95e96a 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