summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-10-05 16:37:45 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-10-05 16:38:03 +0200
commit3d06ec709d809481d0c9735070eb51ec0ce13325 (patch)
treee2426c0aa0aebea8e6c7d86c8b654c80bf9fc031 /app-misc/tmux
parentapp-misc/tmux: Removed old. (diff)
downloadgentoo-3d06ec709d809481d0c9735070eb51ec0ce13325.tar.gz
gentoo-3d06ec709d809481d0c9735070eb51ec0ce13325.tar.bz2
gentoo-3d06ec709d809481d0c9735070eb51ec0ce13325.zip
app-misc/tmux: Sync live ebuild.
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'app-misc/tmux')
-rw-r--r--app-misc/tmux/tmux-9999.ebuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild
index 27997de379f4..9e06490e5cc9 100644
--- a/app-misc/tmux/tmux-9999.ebuild
+++ b/app-misc/tmux/tmux-9999.ebuild
@@ -38,11 +38,12 @@ RDEPEND="
)
)"
-DOCS=( CHANGES README TODO example_tmux.conf )
+DOCS=( CHANGES README TODO )
PATCHES=(
- # usptream fixes (can be removed with next version bump)
"${FILESDIR}/${PN}-2.4-flags.patch"
+
+ # usptream fixes (can be removed with next version bump)
)
S="${WORKDIR}/${P/_/-}"
@@ -52,6 +53,9 @@ src_prepare() {
# 1.7 segfaults when entering copy mode if compiled with -Os
replace-flags -Os -O2
+ # regenerate aclocal.m4 to support earlier automake versions
+ rm aclocal.m4 || die
+
default
eautoreconf
}
@@ -69,10 +73,10 @@ src_configure() {
src_install() {
default
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${FILESDIR}"/tmux.vim
- fi
+ einstalldocs
+
+ dodoc example_tmux.conf
+ docompress -x /usr/share/doc/${PF}/example_tmux.conf
}
pkg_postinst() {