/[gentoo-x86]/eclass/gnome2.eclass
Gentoo

Diff of /eclass/gnome2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.95 Revision 1.97
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.95 2011/04/21 21:27:40 eva Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.97 2011/07/08 11:35:01 ssuominen Exp $
4 4
5# @ECLASS: gnome2.eclass 5# @ECLASS: gnome2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# gnome@gentoo.org 7# gnome@gentoo.org
8# @BLURB: 8# @BLURB:
110 G2CONF="${G2CONF} --enable-debug=yes" 110 G2CONF="${G2CONF} --enable-debug=yes"
111 fi 111 fi
112 fi 112 fi
113 113
114 # Prevent a QA warning 114 # Prevent a QA warning
115 if hasq doc ${IUSE} ; then 115 if has doc ${IUSE} ; then
116 G2CONF="${G2CONF} $(use_enable doc gtk-doc)" 116 G2CONF="${G2CONF} $(use_enable doc gtk-doc)"
117 fi 117 fi
118 118
119 # Avoid sandbox violations caused by misbehaving packages (bug #128289) 119 # Avoid sandbox violations caused by misbehaving packages (bug #128289)
120 addwrite "/root/.gnome2" 120 addwrite "/root/.gnome2"
173 rm -fr "${ED}/usr/share/applications/mimeinfo.cache" 173 rm -fr "${ED}/usr/share/applications/mimeinfo.cache"
174 174
175 # Delete all .la files 175 # Delete all .la files
176 if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then 176 if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then
177 ebegin "Removing .la files" 177 ebegin "Removing .la files"
178 find "${ED}" -name '*.la' -delete || die "la file removal failed" 178 find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
179 eend 179 eend
180 fi 180 fi
181} 181}
182 182
183# @FUNCTION: gnome2_pkg_preinst 183# @FUNCTION: gnome2_pkg_preinst

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.97

  ViewVC Help
Powered by ViewVC 1.1.20