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/autotools-utils.eclass,v 1.30 2011/12/14 14:55:03 mgorny Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.31 2011/12/22 18:01:12 mgorny Exp $ |
4 | |
4 | |
5 | # @ECLASS: autotools-utils.eclass |
5 | # @ECLASS: autotools-utils.eclass |
6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
7 | # Maciej Mrozowski <reavertm@gentoo.org> |
7 | # Maciej Mrozowski <reavertm@gentoo.org> |
8 | # Michał Górny <mgorny@gentoo.org> |
8 | # Michał Górny <mgorny@gentoo.org> |
… | |
… | |
253 | # @FUNCTION: autotools-utils_src_prepare |
253 | # @FUNCTION: autotools-utils_src_prepare |
254 | # @DESCRIPTION: |
254 | # @DESCRIPTION: |
255 | # The src_prepare function. |
255 | # The src_prepare function. |
256 | # |
256 | # |
257 | # Supporting PATCHES array and user patches. See base.eclass(5) for reference. |
257 | # Supporting PATCHES array and user patches. See base.eclass(5) for reference. |
|
|
258 | # |
|
|
259 | # This function calls elibtoolize implicitly. If you need to call eautoreconf |
|
|
260 | # afterwards, please use AT_NOELIBTOOLIZE=yes to avoid it being called twice. |
258 | autotools-utils_src_prepare() { |
261 | autotools-utils_src_prepare() { |
259 | debug-print-function ${FUNCNAME} "$@" |
262 | debug-print-function ${FUNCNAME} "$@" |
260 | |
263 | |
261 | [[ ${PATCHES} ]] && epatch "${PATCHES[@]}" |
264 | [[ ${PATCHES} ]] && epatch "${PATCHES[@]}" |
262 | epatch_user |
265 | epatch_user |