From 4991a713b7cf9305b717ca76f22f6efb681ff700 Mon Sep 17 00:00:00 2001 From: Patrick Kursawe Date: Wed, 3 Mar 2004 12:09:13 +0000 Subject: cleaning up sed stuff --- net-mail/vacation/vacation-1.2.6.1.ebuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'net-mail/vacation/vacation-1.2.6.1.ebuild') 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 () { -- cgit v1.2.3-65-gdbad