/[gentoo-x86]/eclass/kde4-functions.eclass
Gentoo

Diff of /eclass/kde4-functions.eclass

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

Revision 1.19 Revision 1.20
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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/kde4-functions.eclass,v 1.19 2009/05/28 09:47:52 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.20 2009/05/31 09:45:51 scarabeus Exp $
4 4
5# @ECLASS: kde4-functions.eclass 5# @ECLASS: kde4-functions.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @BLURB: Common ebuild functions for KDE 4 packages 8# @BLURB: Common ebuild functions for KDE 4 packages
124 124
125 ## This isn't working because it seems portage sets LINGUAS 125 ## This isn't working because it seems portage sets LINGUAS
126 ## even if you don't have it in make.conf 126 ## even if you don't have it in make.conf
127 ## Im leaving the command that *should* work if LINGUAS was unset commented 127 ## Im leaving the command that *should* work if LINGUAS was unset commented
128 # if there is no linguas defined we enable everything 128 # if there is no linguas defined we enable everything
129 if ! $(env | grep -q "^LINGUAS="); then
130 return 0
131 fi
129 # [[ ! ${LINGUAS+set} = set ]] && LINGUAS="*" 132 # [[ ! ${LINGUAS+set} = set ]] && LINGUAS="*"
130 # ebuild overridable linguas directory definition 133 # ebuild overridable linguas directory definition
131 KDE_LINGUAS_DIR=${KDE_LINGUAS_DIR:="${S}/po"} 134 KDE_LINGUAS_DIR=${KDE_LINGUAS_DIR:="${S}/po"}
132 cd "${KDE_LINGUAS_DIR}" || die "wrong linguas dir specified" 135 cd "${KDE_LINGUAS_DIR}" || die "wrong linguas dir specified"
133 136

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.20