public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Dolbec <dolsen@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] [PATCH] make.conf: expand PORTAGE_CONFIGROOT (bug 511806)
Date: Tue, 3 Mar 2015 13:22:38 -0800	[thread overview]
Message-ID: <20150303132238.223ab480.dolsen@gentoo.org> (raw)
In-Reply-To: <1425416395-10352-1-git-send-email-zmedico@gentoo.org>

On Tue,  3 Mar 2015 12:59:55 -0800
Zac Medico <zmedico@gentoo.org> wrote:

> This can be useful for making settings, such as PKGDIR, relative
> to PORTAGE_CONFIGROOT.
> 
> X-Gentoo-Bug: 511806
> X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=511806
> ---
>  pym/portage/package/ebuild/config.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/pym/portage/package/ebuild/config.py
> b/pym/portage/package/ebuild/config.py index 71fe4df..3c0018f 100644
> --- a/pym/portage/package/ebuild/config.py
> +++ b/pym/portage/package/ebuild/config.py
> @@ -394,6 +394,7 @@ class config(object):
>  
>  			# Allow make.globals to set default paths
> relative to ${EPREFIX}. expand_map["EPREFIX"] = eprefix
> +			expand_map["PORTAGE_CONFIGROOT"] =
> config_root 
>  			if portage._not_installed:
>  				make_globals_path =
> os.path.join(PORTAGE_BASE_PATH, "cnf", "make.globals")

LGTM, merge please :)

-- 
Brian Dolbec <dolsen>



      reply	other threads:[~2015-03-03 21:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03 20:59 [gentoo-portage-dev] [PATCH] make.conf: expand PORTAGE_CONFIGROOT (bug 511806) Zac Medico
2015-03-03 21:22 ` Brian Dolbec [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150303132238.223ab480.dolsen@gentoo.org \
    --to=dolsen@gentoo.org \
    --cc=gentoo-portage-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox