/[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.17 Revision 1.18
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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.17 2012/02/13 00:32:31 pesa Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.18 2012/02/13 00:53:28 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.
50# qt4-r2_src_unpack in it. 50# qt4-r2_src_unpack in it.
51qt4-r2_src_unpack() { 51qt4-r2_src_unpack() {
52 debug-print-function $FUNCNAME "$@" 52 debug-print-function $FUNCNAME "$@"
53 53
54 base_src_unpack "$@" 54 base_src_unpack "$@"
55
56 # Fallback to ${WORKDIR}/${MY_P} when ${WORKDIR}/${P} doesn't exist.
57 # This is a hack that was never meant to be used by ebuilds in tree.
58 if [[ ${S} == "${WORKDIR}/${P}" && ! -d ${S} && -d ${WORKDIR}/${MY_P} ]]; then
59 echo
60 eqawarn "*** DEPRECATION NOTICE ***"
61 eqawarn
62 eqawarn "\${S} fallback is deprecated and will be removed on 12/12/2011."
63 eqawarn "Please set the correct value for \${S} variable inside the ebuild."
64 echo
65 einfo "Falling back to '${WORKDIR}/${MY_P}'"
66 S="${WORKDIR}/${MY_P}"
67 fi
68} 55}
69 56
70# @ECLASS-VARIABLE: PATCHES 57# @ECLASS-VARIABLE: PATCHES
71# @DEFAULT_UNSET 58# @DEFAULT_UNSET
72# @DESCRIPTION: 59# @DESCRIPTION:

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.20