summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/kde.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 423d683585ae..ad00f2769a5a 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.115 2005/02/17 14:58:30 greg_g Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.116 2005/05/15 18:22:52 vapier Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -67,7 +67,7 @@ kde_src_unpack() {
# briefly, -fvisibility-inlines-hidden is broken on amd64 and ppc
# this only applies to kde 3.4. the grep prevents us from removing configure unnecessarily.
if useq amd64 || useq ppc; then
- if grep -- '-fvisibility=hidden -fvisibility-inlines-hidden' admin/acinclude.m4.in >/dev/null; then
+ if grep -qs -- '-fvisibility=hidden -fvisibility-inlines-hidden' admin/acinclude.m4.in ; then
sed -i -e 's:-fvisibility=hidden -fvisibility-inlines-hidden:-fvisibility=hidden:' admin/acinclude.m4.in
rm -f configure
fi