summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuan Van <langthang@gentoo.org>2004-07-14 20:55:53 +0000
committerTuan Van <langthang@gentoo.org>2004-07-14 20:55:53 +0000
commitacaa68bb79fe548da270df0dee244b2aa72e0996 (patch)
tree186a9d3ac51e772dafc78bd25bfe90996e09b464 /net-mail/mailutils
parentsync IUSE (missing) (Manifest recommit) (diff)
downloadgentoo-2-acaa68bb79fe548da270df0dee244b2aa72e0996.tar.gz
gentoo-2-acaa68bb79fe548da270df0dee244b2aa72e0996.tar.bz2
gentoo-2-acaa68bb79fe548da270df0dee244b2aa72e0996.zip
'stay away from awk.'
Diffstat (limited to 'net-mail/mailutils')
-rw-r--r--net-mail/mailutils/ChangeLog5
-rw-r--r--net-mail/mailutils/mailutils-0.5.ebuild6
2 files changed, 8 insertions, 3 deletions
diff --git a/net-mail/mailutils/ChangeLog b/net-mail/mailutils/ChangeLog
index 21746e9a369a..f7647fb9cbee 100644
--- a/net-mail/mailutils/ChangeLog
+++ b/net-mail/mailutils/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/mailutils
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/ChangeLog,v 1.8 2004/07/11 05:14:07 langthang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/ChangeLog,v 1.9 2004/07/14 20:55:53 langthang Exp $
+
+ 14 Jul 2004; <tvan@gentoo.org> mailutils-0.5.ebuild:
+ stay away from awk.
10 Jul 2004; Tuan Van <langthang@gentoo.org> mailutils-0.5.ebuild:
Added mail.rc to resolved bug #37302.
diff --git a/net-mail/mailutils/mailutils-0.5.ebuild b/net-mail/mailutils/mailutils-0.5.ebuild
index d287bf3387fa..4c68aa319c34 100644
--- a/net-mail/mailutils/mailutils-0.5.ebuild
+++ b/net-mail/mailutils/mailutils-0.5.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/net-mail/mailutils/mailutils-0.5.ebuild,v 1.2 2004/07/11 05:14:07 langthang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/mailutils-0.5.ebuild,v 1.3 2004/07/14 20:55:53 langthang Exp $
inherit eutils
DESCRIPTION="A useful collection of mail servers, clients, and filters."
@@ -51,7 +51,9 @@ src_compile() {
use postgres && myconf="${myconf} --with-postgres"
# do not disable-sendmail for postfix user w/o mailwrapper, bug #44249.
- mymta="$(best_version virtual/mta | awk -F/ '{print $2}' | awk -F- '{print $1}')"
+ mymta=$(portageq best_version / virtual/mta)
+ mymta=${mymta%-[0-9]*}
+ mymta=${mymta##*\/}
if ! use mailwrapper && [ "$mymta" == "postfix" ]; then
myconf="${myconf} --enable-sendmail"
einfo "My MTA is: $mymta"