Gentoo Archives: gentoo-dev

From: Benda Xu <heroxbd@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] RFC: toolchain.eclass prefix support
Date: Sat, 07 Jan 2017 15:07:29
Message-Id: 87r34esycm.fsf@gentoo.org
1 Hi,
2
3 Please help me review the patch attached.
4
5 This patch has 5 main kinds of modifications to the eclass,
6
7 * Define ED and EROOT for EAPI 0, 1 and 2.
8 * Add ${EPREFIX} to ${PREFIX} and quote the variables.
9 * Strip ${EPREFIX} if used with a ebuild helper.
10 * call fix_libtool_files.sh by name, because /usr/sbin is in PATH,
11 and no need to write as ${EPREFIX}/usr/sbin/fix_libtool_files.sh
12 * Preserve PATH when calling gcc-config.
13
14 Benda

Attachments

File name MIME type
toolchain.patch text/x-diff

Replies