diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-06-16 20:48:29 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-06-16 20:49:27 +0200 |
commit | 0359da1ff882940714604c2e5e4a622569cba67d (patch) | |
tree | 9567e6a45a9757ec47efa96eef641356becb4803 /app-misc/tmux | |
parent | dev-php/PEAR-Net_SmartIRC: Version bump to 1.1.11 (diff) | |
download | gentoo-0359da1ff882940714604c2e5e4a622569cba67d.tar.gz gentoo-0359da1ff882940714604c2e5e4a622569cba67d.tar.bz2 gentoo-0359da1ff882940714604c2e5e4a622569cba67d.zip |
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
Diffstat (limited to 'app-misc/tmux')
-rw-r--r-- | app-misc/tmux/tmux-9999.ebuild | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild index a3361bdd2bf5..27997de379f4 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 |