summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2007-03-18 21:39:30 +0000
committerCarsten Lohrke <carlo@gentoo.org>2007-03-18 21:39:30 +0000
commit1f2eadb5e379dbce6be84d82dd57e1d044036db0 (patch)
treeecdda2ee1887a30d8e5bcf2b1743c39867a25067 /eclass
parentUSE branding for x11-misc/xscreensaver (diff)
downloadgentoo-2-1f2eadb5e379dbce6be84d82dd57e1d044036db0.tar.gz
gentoo-2-1f2eadb5e379dbce6be84d82dd57e1d044036db0.tar.bz2
gentoo-2-1f2eadb5e379dbce6be84d82dd57e1d044036db0.zip
Be a bit more exact about which library directories to search, bug #162921.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde-meta.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/kde-meta.eclass b/eclass/kde-meta.eclass
index d033c516b07f..68bcb396659a 100644
--- a/eclass/kde-meta.eclass
+++ b/eclass/kde-meta.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-meta.eclass,v 1.81 2006/09/27 23:10:10 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.82 2007/03/18 21:39:30 carlo Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
# Simone Gotti <motaboy@gentoo.org>
@@ -325,7 +325,8 @@ function kde-meta_src_unpack() {
cd $S
mkdir -p ${dirname}
cd ${dirname}
- if [[ ! "$(find ${PREFIX}/$(get_libdir)/ -name "${libname}*")" == "" ]]; then
+ search_path=$(echo ${PREFIX}/$(get_libdir)/{,kde3/{,plugins/{designer,styles}}})
+ if [[ ! "$(find ${search_path} -maxdepth 1 -name "${libname}*" 2>/dev/null)" == "" ]]; then
echo "Symlinking library ${libname} under ${PREFIX}/$(get_libdir)/ in source dir"
ln -s ${PREFIX}/$(get_libdir)/${libname}* .
else