commit: 0359da1ff882940714604c2e5e4a622569cba67d Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> AuthorDate: Fri Jun 16 18:48:29 2017 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Fri Jun 16 18:49:27 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0359da1f
app-misc/tmux: remove FAQ from DOCS array. improve equild's quality. Gentoo-Bug: https://bugs.gentoo.org/621858 Package-Manager: Portage-2.3.5, Repoman-2.3.1 app-misc/tmux/tmux-9999.ebuild | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild index a3361bdd2bf..27997de379f 100644 --- a/app-misc/tmux/tmux-9999.ebuild +++ b/app-misc/tmux/tmux-9999.ebuild @@ -18,15 +18,18 @@ IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux" CDEPEND=" dev-libs/libevent:0= + sys-libs/ncurses:0= utempter? ( kernel_linux? ( sys-libs/libutempter ) kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) - ) - sys-libs/ncurses:0=" -DEPEND="${CDEPEND} + )" + +DEPEND=" + ${CDEPEND} virtual/pkgconfig" -RDEPEND="${CDEPEND} - dev-libs/libevent:= + +RDEPEND=" + ${CDEPEND} selinux? ( sec-policy/selinux-screen ) vim-syntax? ( || ( @@ -35,21 +38,21 @@ RDEPEND="${CDEPEND} ) )" -DOCS=( CHANGES FAQ README TODO ) +DOCS=( CHANGES README TODO example_tmux.conf ) -src_prepare() { - # respect CFLAGS and don't add some includes - sed \ - -e 's:-I/usr/local/include::' \ - -e 's:-O2::' \ - -i Makefile.am || die +PATCHES=( + # usptream fixes (can be removed with next version bump) + "${FILESDIR}/${PN}-2.4-flags.patch" +) + +S="${WORKDIR}/${P/_/-}" +src_prepare() { # bug 438558 # 1.7 segfaults when entering copy mode if compiled with -Os replace-flags -Os -O2 default - eautoreconf } @@ -59,17 +62,13 @@ src_configure() { $(use_enable debug) $(use_enable utempter) ) + econf "${myeconfargs[@]}" } src_install() { default - einstalldocs - - dodoc example_tmux.conf - docompress -x /usr/share/doc/${PF}/example_tmux.conf - if use vim-syntax; then insinto /usr/share/vim/vimfiles/ftdetect doins "${FILESDIR}"/tmux.vim
