summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-01 15:38:03 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-01 15:38:03 +0000
commitf6508385f40049466b96166254cf59e4cade1a86 (patch)
treeb0d4074d780ea0dda6c20ce39aca2c059be7848c /eclass
parentLicense for myspell-cs (diff)
downloadgentoo-2-f6508385f40049466b96166254cf59e4cade1a86.tar.gz
gentoo-2-f6508385f40049466b96166254cf59e4cade1a86.tar.bz2
gentoo-2-f6508385f40049466b96166254cf59e4cade1a86.zip
Use more portable sed syntax.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 9fecb2211495..caca5cc03af6 100644
--- a/eclass/kde.eclass
+++ b/eclass/kde.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.150 2006/04/28 21:53:10 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.151 2006/05/01 15:38:03 flameeyes Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -217,7 +217,8 @@ kde_src_compile() {
if [[ "${ARCH}" = "hppa" ]]
then
einfo Fixating Makefiles
- find ${S} -name Makefile | while read a; do sed -e s/-O2/-ffunction-sections/ -i "${a}" ; done
+ find ${S} -name Makefile -print0 | xargs -0 sed -i -e \
+ 's:-O2:-ffunction-sections:g'
fi
;;
make)