| 1 | # Copyright 1999-2002 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2002 Gentoo Technologies, Inc. |
| 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 | # Author: Martin Schlemmer <azarah@gentoo.org> |
3 | # Author: Martin Schlemmer <azarah@gentoo.org> |
| 4 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.11 2002/12/04 21:46:33 azarah Exp $ |
4 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.12 2002/12/14 21:46:25 azarah Exp $ |
| 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! |
| 9 | |
9 | |
| 10 | ECLASS=eutils |
10 | ECLASS=eutils |
| 11 | INHERITED="$INHERITED $ECLASS" |
11 | INHERITED="$INHERITED $ECLASS" |
| 12 | |
12 | |
| 13 | newdepend sys-devel/patch |
13 | newdepend "!bootstrap? ( sys-devel/patch )" |
| 14 | |
14 | |
| 15 | DESCRIPTION="Based on the ${ECLASS} eclass" |
15 | DESCRIPTION="Based on the ${ECLASS} eclass" |
| 16 | |
16 | |
| 17 | # This function generate linker scripts in /usr/lib for dynamic |
17 | # This function generate linker scripts in /usr/lib for dynamic |
| 18 | # libs in /lib. This is to fix linking problems when you have |
18 | # libs in /lib. This is to fix linking problems when you have |