diff options
author | Eray Aslan <eras@gentoo.org> | 2011-05-15 16:57:10 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2011-05-15 16:57:10 +0000 |
commit | 867fe93bdf638d7c8caf45e616cf9ba18210a801 (patch) | |
tree | 53bdba06fb01176d8b9fe00edbbe03ec9ff82402 /mail-mta | |
parent | Fix CUDA integration, bug 365509 (diff) | |
download | gentoo-2-867fe93bdf638d7c8caf45e616cf9ba18210a801.tar.gz gentoo-2-867fe93bdf638d7c8caf45e616cf9ba18210a801.tar.bz2 gentoo-2-867fe93bdf638d7c8caf45e616cf9ba18210a801.zip |
Fix building with doc USE flag bug #367179. Thanks to Andrew Savchenko.
(Portage version: 2.1.9.49/cvs/Linux x86_64)
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/msmtp/ChangeLog | 5 | ||||
-rw-r--r-- | mail-mta/msmtp/msmtp-1.4.24.ebuild | 12 |
2 files changed, 14 insertions, 3 deletions
diff --git a/mail-mta/msmtp/ChangeLog b/mail-mta/msmtp/ChangeLog index f522c36d6b21..efa0ef0d3dfb 100644 --- a/mail-mta/msmtp/ChangeLog +++ b/mail-mta/msmtp/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for mail-mta/msmtp # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/ChangeLog,v 1.102 2011/04/29 06:17:20 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/ChangeLog,v 1.103 2011/05/15 16:57:10 eras Exp $ + + 15 May 2011; Eray Aslan <eras@gentoo.org> msmtp-1.4.24.ebuild: + Fix building with doc USE flag bug #367179. Thanks to Andrew Savchenko. 29 Apr 2011; Tim Harder <radhermit@gentoo.org> -files/mailer.conf: Remove old mailwrapper related file. diff --git a/mail-mta/msmtp/msmtp-1.4.24.ebuild b/mail-mta/msmtp/msmtp-1.4.24.ebuild index 6dea724aa37a..6f1943e47e98 100644 --- a/mail-mta/msmtp/msmtp-1.4.24.ebuild +++ b/mail-mta/msmtp/msmtp-1.4.24.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/msmtp-1.4.24.ebuild,v 1.1 2011/04/29 06:15:11 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/msmtp-1.4.24.ebuild,v 1.2 2011/05/15 16:57:10 eras Exp $ EAPI=4 @@ -22,7 +22,6 @@ CDEPEND="idn? ( net-dns/libidn ) sasl? ( >=virtual/gsasl-0.2.4 )" RDEPEND="${CDEPEND} - !net-mail/mailwrapper mta? ( !mail-mta/courier !mail-mta/esmtp !mail-mta/exim @@ -37,6 +36,7 @@ RDEPEND="${CDEPEND} !>=mail-mta/ssmtp-2.64-r2[mta] )" DEPEND="${CDEPEND} + doc? ( virtual/texi2dvi ) nls? ( sys-devel/gettext ) dev-util/pkgconfig" @@ -64,6 +64,14 @@ src_configure() { ${myconf} } +src_compile() { + default_src_compile + if use doc ; then + cd doc || die "cd failed" + emake html pdf + fi +} + src_install() { emake DESTDIR="${D}" install |