diff options
author | Christoph Junghans <ottxor@gentoo.org> | 2013-10-17 22:53:59 +0000 |
---|---|---|
committer | Christoph Junghans <ottxor@gentoo.org> | 2013-10-17 22:53:59 +0000 |
commit | b7ea2b9dffd70e1691230dcf7c812793a0033b76 (patch) | |
tree | 72702215e210076ee07a7d8e5eb232d0acb38cc1 /eclass | |
parent | added prefix support (bug #484146) (diff) | |
download | historical-b7ea2b9dffd70e1691230dcf7c812793a0033b76.tar.gz historical-b7ea2b9dffd70e1691230dcf7c812793a0033b76.tar.bz2 historical-b7ea2b9dffd70e1691230dcf7c812793a0033b76.zip |
added prefix support (bug #485534)
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/subversion.eclass | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index cf69e613e88f..0566f52a0042 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1026 2013/10/15 05:36:26 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1027 2013/10/17 22:53:59 ottxor Exp $ + + 17 Oct 2013; Christoph Junghans <ottxor@gentoo.org> subversion.eclass: + added prefix support (bug #485534) 15 Oct 2013; Ryan Hill <dirtyepic@gentoo.org> toolchain.eclass: Remove .la files for libasan and libtsan. They reference non-existent diff --git a/eclass/subversion.eclass b/eclass/subversion.eclass index 436045b62184..bb2bd19192bc 100644 --- a/eclass/subversion.eclass +++ b/eclass/subversion.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.85 2013/07/27 10:18:13 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.86 2013/10/17 22:53:59 ottxor Exp $ # @ECLASS: subversion.eclass # @MAINTAINER: @@ -443,9 +443,10 @@ subversion_src_prepare() { # want the logs to stick around if packages are uninstalled without messing with # config protection. subversion_pkg_preinst() { + has "${EAPI:-0}" 0 1 2 && ! use prefix && EROOT="${ROOT}" local pkgdate=$(date "+%Y%m%d %H:%M:%S") if [[ -n ${ESCM_LOGDIR} ]]; then - local dir="${ROOT}/${ESCM_LOGDIR}/${CATEGORY}" + local dir="${EROOT}/${ESCM_LOGDIR}/${CATEGORY}" if [[ ! -d ${dir} ]]; then mkdir -p "${dir}" || eerror "Failed to create '${dir}' for logging svn revision" fi |