summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-26 18:57:14 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-26 18:57:14 +0000
commitb6c642713d6fb795b97aa5f2641191c169ced9d4 (patch)
tree2795091bbf247cd72d0ed226067628fa297fec59 /eclass/xfconf.eclass
parentFix compilation on Solaris, acked by Anarchy in IRC (diff)
downloadhistorical-b6c642713d6fb795b97aa5f2641191c169ced9d4.tar.gz
historical-b6c642713d6fb795b97aa5f2641191c169ced9d4.tar.bz2
historical-b6c642713d6fb795b97aa5f2641191c169ced9d4.zip
punt all .la files from xfce pkgs, we don't use static archives (we pass --disable-static) since none of the xfce libs are useful static. we also don't have any plugins/libraries using libltdl.
Diffstat (limited to 'eclass/xfconf.eclass')
-rw-r--r--eclass/xfconf.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass
index dcceb0ee4880..2e7dd4e75e63 100644
--- a/eclass/xfconf.eclass
+++ b/eclass/xfconf.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.16 2010/06/13 16:10:21 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.17 2010/07/26 18:57:14 ssuominen Exp $
# @ECLASS: xfconf.eclass
# @MAINTAINER:
@@ -138,6 +138,9 @@ xfconf_src_install() {
if [[ -n ${DOCS} ]]; then
dodoc ${DOCS} || die "dodoc failed"
fi
+
+ has "${EAPI:-0}" 0 1 2 && ! use prefix && ED="${D}"
+ find "${ED}" -name '*.la' -exec rm -f {} +
}
# @FUNCTION: xfconf_pkg_preinst