/[gentoo-x86]/eclass/qt4-r2.eclass
Gentoo

Diff of /eclass/qt4-r2.eclass

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

Revision 1.13 Revision 1.14
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/qt4-r2.eclass,v 1.13 2011/11/12 18:26:59 pesa Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.14 2011/11/12 20:46:39 pesa Exp $
4 4
5# @ECLASS: qt4-r2.eclass 5# @ECLASS: qt4-r2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Qt herd <qt@gentoo.org> 7# Qt herd <qt@gentoo.org>
8# @BLURB: Eclass for Qt4-based packages, second edition. 8# @BLURB: Eclass for Qt4-based packages, second edition.
45# qt4-r2_src_unpack in it. 45# qt4-r2_src_unpack in it.
46qt4-r2_src_unpack() { 46qt4-r2_src_unpack() {
47 debug-print-function $FUNCNAME "$@" 47 debug-print-function $FUNCNAME "$@"
48 48
49 base_src_unpack "$@" 49 base_src_unpack "$@"
50
51 # Fallback to ${WORKDIR}/${MY_P} when ${WORKDIR}/${P} doesn't exist.
52 # This is a hack that was never meant to be used by ebuilds in tree.
53 if [[ ${S} == "${WORKDIR}/${P}" && ! -d ${S} && -d ${WORKDIR}/${MY_P} ]]; then
54 echo
55 eqawarn "*** DEPRECATION NOTICE ***"
56 eqawarn
57 eqawarn "\${S} fallback is deprecated and will be removed on 12/12/2011."
58 eqawarn "Please set the correct value for \${S} variable inside the ebuild."
59 echo
60 einfo "Falling back to '${WORKDIR}/${MY_P}'"
61 S="${WORKDIR}/${MY_P}"
62 fi
50} 63}
51 64
52# @ECLASS-VARIABLE: PATCHES 65# @ECLASS-VARIABLE: PATCHES
53# @DESCRIPTION: 66# @DESCRIPTION:
54# In case you have patches to apply, specify them in PATCHES variable. Make sure 67# In case you have patches to apply, specify them in PATCHES variable. Make sure

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20