Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: gentoo-pms@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-pms] [PATCH v4] pkg-mgr-commands: Add --build and --target to econf (retroactively)
Date: Sun, 18 Feb 2018 15:08:40
Message-Id: 23177.38641.850870.571432@a1i15.kph.uni-mainz.de
In Reply to: [gentoo-pms] [PATCH v4] pkg-mgr-commands: Add --build and --target to econf (retroactively) by "Michał Górny"
1 >>>>> On Sun, 18 Feb 2018, Michał Górny wrote:
2
3 > Amend the econf parameter list with --build and --target options
4 > corresponding to CBUILD and CTARGET variables respectively. They are
5 > useful for cross-compilation purposes (whose support is improved
6 > in EAPI 7), and all three package managers have been passing them dating
7 > back at least to 2005 and/or their inception appropriately.
8 > ---
9 > pkg-mgr-commands.tex | 4 ++++
10 > 1 file changed, 4 insertions(+)
11
12 > diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
13 > index 9a80370..362f28d 100644
14 > --- a/pkg-mgr-commands.tex
15 > +++ b/pkg-mgr-commands.tex
16 > @@ -258,7 +258,11 @@ current phase function has returned.
17 > \item -{}-htmldir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, if the EAPI is listed
18 > in table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
19 > string \t{-{}-htmldir} occurs in the output of \t{configure -{}-help}.
20 > + \item -{}-build must be the value of the \t{CBUILD} environment variable. This option will only
21 > + be passed if \t{CBUILD} is non-empty.
22 > \item -{}-host must be the value of the \t{CHOST} environment variable.
23 > + \item -{}-target must be the value of the \t{CTARGET} environment variable. This option will only
24 > + be passed if \t{CTARGET} is non-empty.
25 > \item -{}-libdir must be set according to Algorithm~\ref{alg:econf-libdir}.
26 > \item -{}-disable-dependency-tracking, if the EAPI is listed in
27 > table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
28 > --
29 > 2.16.2
30
31 Looks good.