summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-03-03 12:09:13 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-03-03 12:09:13 +0000
commit4991a713b7cf9305b717ca76f22f6efb681ff700 (patch)
tree609f4deb66e2e4899c928e330b0ace295d9a737a /net-mail/vacation
parent-> ppc (diff)
downloadgentoo-2-4991a713b7cf9305b717ca76f22f6efb681ff700.tar.gz
gentoo-2-4991a713b7cf9305b717ca76f22f6efb681ff700.tar.bz2
gentoo-2-4991a713b7cf9305b717ca76f22f6efb681ff700.zip
cleaning up sed stuff
Diffstat (limited to 'net-mail/vacation')
-rw-r--r--net-mail/vacation/ChangeLog7
-rw-r--r--net-mail/vacation/vacation-1.2.6.1.ebuild11
2 files changed, 11 insertions, 7 deletions
diff --git a/net-mail/vacation/ChangeLog b/net-mail/vacation/ChangeLog
index 5ba43fc9611a..320534856232 100644
--- a/net-mail/vacation/ChangeLog
+++ b/net-mail/vacation/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/vacation
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/vacation/ChangeLog,v 1.2 2003/06/17 20:05:45 agriffis Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/vacation/ChangeLog,v 1.3 2004/03/03 12:09:13 phosphan Exp $
+
+ 03 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> vacation-1.2.6.1.ebuild:
+ Cleaning up sed stuff
17 Jun 2003; Aron Griffis <agriffis@gentoo.org> vacation-1.2.6.1.ebuild:
Add alpha to KEYWORDS
diff --git a/net-mail/vacation/vacation-1.2.6.1.ebuild b/net-mail/vacation/vacation-1.2.6.1.ebuild
index 1f9af32a3f2b..c6299e771e70 100644
--- a/net-mail/vacation/vacation-1.2.6.1.ebuild
+++ b/net-mail/vacation/vacation-1.2.6.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/vacation/vacation-1.2.6.1.ebuild,v 1.3 2003/09/05 09:09:20 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/vacation/vacation-1.2.6.1.ebuild,v 1.4 2004/03/03 12:09:13 phosphan Exp $
DESCRIPTION="automatic mail answering program"
HOMEPAGE="http://vacation.sourceforge.net/"
@@ -10,8 +10,10 @@ KEYWORDS="x86 alpha"
SLOT="0"
IUSE=""
-DEPEND="virtual/mta
+RDEPEND="virtual/mta
sys-libs/gdbm"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
S="${WORKDIR}/${PN}"
@@ -19,8 +21,7 @@ src_unpack () {
unpack ${A}
cd ${S}
mv vacation.man vacation.1
- mv Makefile Makefile.orig
- sed < Makefile.orig -e 's: -m486::' | sed -e 's:CFLAGS.*= \(.*\):CFLAGS += \1:' > Makefile
+ sed -i -e 's: -m486::; s:CFLAGS.*= \(.*\):CFLAGS += \1:' Makefile
}
src_compile () {