summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-07-16 14:12:56 +0000
committerNick Hadaway <raker@gentoo.org>2002-07-16 14:12:56 +0000
commitc7ad65ee44dc03c49244b2f5f7b9b32cf628ce00 (patch)
treec56613324464743da1c7244fe1070668a8973780 /net-mail/procmail
parentNew package, A Radio Tuner For GNOME2 (diff)
downloadgentoo-2-c7ad65ee44dc03c49244b2f5f7b9b32cf628ce00.tar.gz
gentoo-2-c7ad65ee44dc03c49244b2f5f7b9b32cf628ce00.tar.bz2
gentoo-2-c7ad65ee44dc03c49244b2f5f7b9b32cf628ce00.zip
Updated sed statement with a "-O2" so the strstr() tests don't hang.
Diffstat (limited to 'net-mail/procmail')
-rw-r--r--net-mail/procmail/ChangeLog12
-rw-r--r--net-mail/procmail/procmail-3.22-r2.ebuild9
2 files changed, 18 insertions, 3 deletions
diff --git a/net-mail/procmail/ChangeLog b/net-mail/procmail/ChangeLog
index c60742641cc5..fe527d46adc1 100644
--- a/net-mail/procmail/ChangeLog
+++ b/net-mail/procmail/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-mail/procmail
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-mail/procmail/ChangeLog,v 1.3 2002/06/18 14:40:42 g2boojum Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/procmail/ChangeLog,v 1.4 2002/07/16 14:12:56 raker Exp $
+
+*procmail-3.22-r2 (16 Jul 2002)
+
+ 16 Jul 2002; Nick Hadaway <raker@gentoo.org> procmail-3.22-r2.ebuild :
+
+ Updated sed statement to include a "-O2" so procmail doesn't barf
+ on the strstr() tests.
+
+*procmail-3.22-r2 (18 Jun 2002)
18 Jun 2002; Grant Goodyear <g2boojum@gentoo.org> ChangeLog :
@@ -8,6 +17,7 @@
default mailbox instead of patching the source.
*procmail-3.22-r1 (1 Feb 2002)
+
3 May 2002; J.Hudson <jhhudso@gentoo.org> procmail-3.22-r1.ebuild :
Added mbox use item to ebuild. When used, procmail will not change
diff --git a/net-mail/procmail/procmail-3.22-r2.ebuild b/net-mail/procmail/procmail-3.22-r2.ebuild
index 3571334332d3..4cf63eeeab18 100644
--- a/net-mail/procmail/procmail-3.22-r2.ebuild
+++ b/net-mail/procmail/procmail-3.22-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Modified by $HOME/.maildir by Craig Joly <craig@taipan.mudshark.org>
-# $Header: /var/cvsroot/gentoo-x86/net-mail/procmail/procmail-3.22-r2.ebuild,v 1.2 2002/07/11 06:30:47 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/procmail/procmail-3.22-r2.ebuild,v 1.3 2002/07/16 14:12:56 raker Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Mail delivery agent/filter"
@@ -14,7 +14,12 @@ DEPEND="virtual/glibc
src_compile() {
cp Makefile Makefile.orig
- sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS}:" \
+# Added a -O2 at the end of CFLAGS to overcome what seems to be a
+# gcc-3.1 strstr() bug with more aggressive optimization flags
+# The order of the flags matters as the last flag passed clobbers
+# the first flag. i.e. if -O2 was placed before ${CFLAGS},
+# whatever optimization that is in ${CFLAGS} would clobber -O2
+ sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS} -O2:" \
-e "s:LOCKINGTEST=__defaults__:#LOCKINGTEST=__defaults__:" \
-e "s:#LOCKINGTEST=/tmp:LOCKINGTEST=/tmp:" Makefile.orig > Makefile