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/vacation-1.2.6.1.ebuild
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/vacation-1.2.6.1.ebuild')
-rw-r--r--net-mail/vacation/vacation-1.2.6.1.ebuild11
1 files changed, 6 insertions, 5 deletions
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 () {