commit:     34c577c1c3ed5514475297d85722b005379391fe
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  2 23:35:47 2016 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Tue Feb  2 23:36:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c577c1

mail-filter/dovecot-antispam: use system txt2man

Fixes bug #565946.

 .../dovecot-antispam/dovecot-antispam-2.0_pre20130429.ebuild  | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git 
a/mail-filter/dovecot-antispam/dovecot-antispam-2.0_pre20130429.ebuild 
b/mail-filter/dovecot-antispam/dovecot-antispam-2.0_pre20130429.ebuild
index fca9408..1038b37 100644
--- a/mail-filter/dovecot-antispam/dovecot-antispam-2.0_pre20130429.ebuild
+++ b/mail-filter/dovecot-antispam/dovecot-antispam-2.0_pre20130429.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,12 +14,17 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
 
-DEPEND=">=net-mail/dovecot-2.1.16"
-RDEPEND="${DEPEND}"
+RDEPEND=">=net-mail/dovecot-2.1.16"
+DEPEND="${RDEPEND}
+       app-text/txt2man"
 
 DOCS=( README )
 
 src_prepare() {
+       # use system txt2man
+       rm doc/txt2man || die
+       sed -i 's#./txt2man#txt2man#' doc/Makefile || die
+
        AT_M4DIR="m4" eautoreconf
 }
 

Reply via email to