summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2004-08-08 19:00:27 +0000
committerTom Martin <slarti@gentoo.org>2004-08-08 19:00:27 +0000
commit2e74d900a03daee94ad7496cade104311786b363 (patch)
treef6300a9c9fe7f35d0aaba3aa0ab6e674672c5563 /mail-mta
parentVersion bump for CAN-2004-0685, bug #59769. (Manifest recommit) (diff)
downloadgentoo-2-2e74d900a03daee94ad7496cade104311786b363.tar.gz
gentoo-2-2e74d900a03daee94ad7496cade104311786b363.tar.bz2
gentoo-2-2e74d900a03daee94ad7496cade104311786b363.zip
Cleanup USE.. erm.. use
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/msmtp/ChangeLog5
-rw-r--r--mail-mta/msmtp/msmtp-1.2.1.ebuild20
2 files changed, 12 insertions, 13 deletions
diff --git a/mail-mta/msmtp/ChangeLog b/mail-mta/msmtp/ChangeLog
index edd1d9ed195e..29dcee2a6f18 100644
--- a/mail-mta/msmtp/ChangeLog
+++ b/mail-mta/msmtp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-mta/msmtp
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/ChangeLog,v 1.10 2004/08/03 19:34:49 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/ChangeLog,v 1.11 2004/08/08 19:00:27 slarti Exp $
+
+ 08 Aug 2004; Tom Martin <slarti@gentoo.org> msmtp-1.2.1.ebuild:
+ Improve USE flag handling.
03 Aug 2004; Michael Sterrett <mr_bones_@gentoo.org> msmtp-1.2.1.ebuild:
fix use invocation
diff --git a/mail-mta/msmtp/msmtp-1.2.1.ebuild b/mail-mta/msmtp/msmtp-1.2.1.ebuild
index e8eb7d3cf4ef..9b28a01bc761 100644
--- a/mail-mta/msmtp/msmtp-1.2.1.ebuild
+++ b/mail-mta/msmtp/msmtp-1.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/msmtp-1.2.1.ebuild,v 1.2 2004/08/03 19:34:49 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/msmtp/msmtp-1.2.1.ebuild,v 1.3 2004/08/08 19:00:27 slarti Exp $
DESCRIPTION="An SMTP client and SMTP plugin for mail user agents such as Mutt"
HOMEPAGE="http://msmtp.sourceforge.net/"
@@ -17,15 +17,18 @@ KEYWORDS="~x86 ~ppc ~amd64"
src_compile () {
local myconf
+
use sasl \
&& myconf="${myconf} --enable-gsasl" \
|| myconf="${myconf} --disable-gsasl"
- if use ssl && use gnutls ; then
+ if use ssl && use gnutls ; then
myconf="${myconf} --enable-ssl --with-ssl=gnutls"
- elif use ssl && ! use gnutls ; then
+ elif use ssl && ! use gnutls ; then
myconf="${myconf} --enable-ssl --with-ssl=openssl"
- else
+ elif ! use ssl && use gnutls ; then
+ myconf="${myconf} --enable-ssl --with-ssl=gnutls"
+ elif ! use ssl && ! use gnutls ; then
myconf="${myconf} --disable-ssl"
fi
@@ -36,13 +39,6 @@ src_compile () {
src_install () {
einstall || die "install failed"
- if ! use ssl && use gnutls ; then
- ewarn " "
- ewarn "gnutls support was not enabled (even though it was in your USE flags) as"
- ewarn "ssl was not in them also."
- ewarn " "
- fi
-
- dodoc AUTHORS COPYING ChangeLog NEWS README THANKS \
+ dodoc AUTHORS ChangeLog NEWS README THANKS \
doc/msmtprc.example doc/Mutt+msmtp.txt || die "dodoc failed"
}