Gentoo Archives: gentoo-osx

From: Michael Haubenwallner <michael.haubenwallner@×××××××.at>
To: "gentoo-osx@l.g.o" <gentoo-osx@l.g.o>
Subject: [gentoo-osx] some portage-prefix patches
Date: Tue, 25 Jul 2006 13:06:02
Message-Id: 1153832687.11311.84.camel@sapc154

after some time using portage-prefix-2.1.14 with some patches now, its
time for me to post these (partially) very useful patches...

Hopefully they will make it at least to the list at once...

[00-check-offset-prefix.patch] (minor)
Just a simple configure-commandline check for valid domain-prefix.

[01-defaultpath.patch] (minor)
Also add "${prefix}/lib/portage/bin" to DEFAULT_PATH, to simplify the
bootstrap process.

[02-ebuildenv-ROOT.patch] (minor)
Moved trailing 'os.sep' from EDEST to ROOT.

[03-eprefix-function.patch] (normal)
Well, eprefix() was not yet present in 2.1.14, but may be already
somewhere in svn (if it exists somewhere).
To get this yet trivial implementation work, [10-portageq-root.patch] is

[04-interactive-ebuild.patch] (enhancement)
The most interesting one: Add interactive-feature to portage, usage:
FEATURES=interactive emerge package
FEATURES=interactive ebuild package.ebuild [unpack|compile|install|...]

[05-checked-binaries.patch] (normal)
Use the binaries figured out by configure for sandbox/bash/mv/prelink.

[06-env-conf+ext.patch] (enhancement)
[07-env-dup.patch] (enhancement)
This two patches are real enhancements, required for my
baselayout-prefix package, which i will eventually post separately
(package & patches).

[08-cnf-typo.patch] (minor)
Just a typo in cnf/, which prevents installation of

[09-wget-bootstrap.patch] (minor)
Use the wget found by configure, not PREFIX/usr/bin/wget per default in
make.globals. This makes bootstrap easier.

[10-portageq-root.patch] (normal)
Do not pass ROOT to 'portageq', or portageq will try to create
${ROOT}${EPREFIX}/var/tmp, which incorrectly results to
Figured out this with an improved sandbox.

[11-rpath-autofix.patch] (normal)
Do the "Auto fixing rpath" thing for to-be-merged files, not for already
merged ones.

[12-readonly-tree.patch] (normal)
Fix situations where the ebuild cannot be copied twice if tree is
readonly. Maybe the second ebuild-cp could be removed.

best regards, haubi
Michael Haubenwallner                    SALOMON Automation GmbH
Forschung & Entwicklung                  A-8114 Friesach bei Graz
No HTML/MIME please, see


File name MIME type
00-check-offset-prefix.patch text/x-patch
01-defaultpath.patch text/x-patch
02-ebuildenv-ROOT.patch text/x-patch
03-eprefix-function.patch text/x-patch
04-interactive-ebuild.patch text/x-patch
05-checked-binaries.patch text/x-patch
08-cnf-typo.patch text/x-patch
09-wget-bootstrap.patch text/x-patch
10-portageq-root.patch text/x-patch
11-rpath-autofix.patch text/x-patch
12-readonly-tree.patch text/x-patch