diff options
author | Davide Pesavento <pesa@gentoo.org> | 2011-11-12 20:46:39 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2011-11-12 20:46:39 +0000 |
commit | 8d8973ff1924de67c22e42d60f317b2663146ef9 (patch) | |
tree | 1a1168a2c06d75d909f3a0cf3102fa1754fcf93e /eclass | |
parent | Bump - fix for bug involving early file replacement. (diff) | |
download | historical-8d8973ff1924de67c22e42d60f317b2663146ef9.tar.gz historical-8d8973ff1924de67c22e42d60f317b2663146ef9.tar.bz2 historical-8d8973ff1924de67c22e42d60f317b2663146ef9.zip |
Restore ${S} fallback, but with a deprecation notice saying that it will be removed in 30 days.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 6 | ||||
-rw-r--r-- | eclass/qt4-r2.eclass | 15 |
2 files changed, 19 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 63ad825c39d8..fb2ae10ab7d2 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for eclass directory # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.10 2011/11/12 19:01:56 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.11 2011/11/12 20:46:39 pesa Exp $ + + 12 Nov 2011; Davide Pesavento <pesa@gentoo.org> qt4-r2.eclass: + Restore ${S} fallback, but with a deprecation notice saying that it will be + removed in 30 days. 12 Nov 2011; Davide Pesavento <pesa@gentoo.org> qt4-build.eclass: Set qt@g.o as maintainer, minor cleanups (quoting, whitespace, etc.) diff --git a/eclass/qt4-r2.eclass b/eclass/qt4-r2.eclass index d2c9251b48a8..651e321445f6 100644 --- a/eclass/qt4-r2.eclass +++ b/eclass/qt4-r2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.13 2011/11/12 18:26:59 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.14 2011/11/12 20:46:39 pesa Exp $ # @ECLASS: qt4-r2.eclass # @MAINTAINER: @@ -47,6 +47,19 @@ qt4-r2_src_unpack() { debug-print-function $FUNCNAME "$@" base_src_unpack "$@" + + # Fallback to ${WORKDIR}/${MY_P} when ${WORKDIR}/${P} doesn't exist. + # This is a hack that was never meant to be used by ebuilds in tree. + if [[ ${S} == "${WORKDIR}/${P}" && ! -d ${S} && -d ${WORKDIR}/${MY_P} ]]; then + echo + eqawarn "*** DEPRECATION NOTICE ***" + eqawarn + eqawarn "\${S} fallback is deprecated and will be removed on 12/12/2011." + eqawarn "Please set the correct value for \${S} variable inside the ebuild." + echo + einfo "Falling back to '${WORKDIR}/${MY_P}'" + S="${WORKDIR}/${MY_P}" + fi } # @ECLASS-VARIABLE: PATCHES |