From 6f4164332b2233bc2248a1ddf3eecc6e0013f564 Mon Sep 17 00:00:00 2001 From: David Shakaryan Date: Wed, 17 Jan 2007 00:17:42 +0000 Subject: [PATCH] Fix sed expression. (bug #160326) Package-Manager: portage-2.1.2 --- sys-libs/libixp/ChangeLog | 6 +++++- sys-libs/libixp/libixp-0.2-r1.ebuild | 14 +++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/sys-libs/libixp/ChangeLog b/sys-libs/libixp/ChangeLog index 15bd5d083a92..dcff239ef05e 100644 --- a/sys-libs/libixp/ChangeLog +++ b/sys-libs/libixp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/libixp # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libixp/ChangeLog,v 1.2 2007/01/10 01:18:27 omp Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libixp/ChangeLog,v 1.3 2007/01/17 00:17:42 omp Exp $ + + 17 Jan 2007; David Shakaryan -libixp-0.2.ebuild, + libixp-0.2-r1.ebuild: + Fix sed expression. (bug #160326) 10 Jan 2007; David Shakaryan +files/libixp-0.2-shared-object.patch, +libixp-0.2-r1.ebuild: diff --git a/sys-libs/libixp/libixp-0.2-r1.ebuild b/sys-libs/libixp/libixp-0.2-r1.ebuild index ad9d579aa2d1..0034308dee32 100644 --- a/sys-libs/libixp/libixp-0.2-r1.ebuild +++ b/sys-libs/libixp/libixp-0.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libixp/libixp-0.2-r1.ebuild,v 1.2 2007/01/10 01:24:29 omp Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libixp/libixp-0.2-r1.ebuild,v 1.3 2007/01/17 00:17:42 omp Exp $ inherit toolchain-funcs @@ -23,12 +23,12 @@ src_unpack() { epatch "${FILESDIR}/libixp-0.2-shared-object.patch" sed -i \ - -e "/^PREFIX/s/=.*/= \/usr/" \ - -e "/^CFLAGS/s/= -Os/+=/" \ - -e "/^LDFLAGS/s/=/+=/" \ - -e "/^AR/s/=.*/= $(tc-getAR) cr/" \ - -e "/^CC/s/=.*/= $(tc-getCC)/" \ - -e "/^RANLIB/s/=.*/= $(tc-getRANLIB)/" \ + -e "/^PREFIX/s|=.*|= /usr|" \ + -e "/^CFLAGS/s|= -Os|+=|" \ + -e "/^LDFLAGS/s|=|+=|" \ + -e "/^AR/s|=.*|= $(tc-getAR) cr|" \ + -e "/^CC/s|=.*|= $(tc-getCC)|" \ + -e "/^RANLIB/s|=.*|= $(tc-getRANLIB)|" \ config.mk || die "sed failed" } -- 2.26.2