| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 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/eutils.eclass,v 1.243 2006/07/05 01:16:18 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.244 2006/07/06 23:53:57 vapier Exp $ |
| 4 | # |
4 | # |
| 5 | # This eclass is for general purpose functions that most ebuilds |
5 | # This eclass is for general purpose functions that most ebuilds |
| 6 | # have to implement themselves. |
6 | # have to implement themselves. |
| 7 | # |
7 | # |
| 8 | # NB: If you add anything, please comment it! |
8 | # NB: If you add anything, please comment it! |
| … | |
… | |
| 1480 | newls="${newls} ${f}" |
1480 | newls="${newls} ${f}" |
| 1481 | else |
1481 | else |
| 1482 | nols="${nols} ${f}" |
1482 | nols="${nols} ${f}" |
| 1483 | fi |
1483 | fi |
| 1484 | done |
1484 | done |
| 1485 | [[ -n ${newls} ]] \ |
1485 | [[ -n ${nols} ]] \ |
| 1486 | && ewarn "Sorry, but ${PN} does not support the LINGUAs:" ${nols} |
1486 | && ewarn "Sorry, but ${PN} does not support the LINGUAs:" ${nols} |
| 1487 | export LINGUAS=${newls:1} |
1487 | export LINGUAS=${newls:1} |
| 1488 | } |
1488 | } |
| 1489 | |
1489 | |
| 1490 | # moved from kernel.eclass since they are generally useful outside of |
1490 | # moved from kernel.eclass since they are generally useful outside of |