From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-pms@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-pms] [PATCH v4] pkg-mgr-commands: Add --build and --target to econf (retroactively)
Date: Sun, 18 Feb 2018 15:48:14 +0100 [thread overview]
Message-ID: <20180218144814.21962-1-mgorny@gentoo.org> (raw)
Amend the econf parameter list with --build and --target options
corresponding to CBUILD and CTARGET variables respectively. They are
useful for cross-compilation purposes (whose support is improved
in EAPI 7), and all three package managers have been passing them dating
back at least to 2005 and/or their inception appropriately.
---
pkg-mgr-commands.tex | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 9a80370..362f28d 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -258,7 +258,11 @@ current phase function has returned.
\item -{}-htmldir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, if the EAPI is listed
in table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
string \t{-{}-htmldir} occurs in the output of \t{configure -{}-help}.
+ \item -{}-build must be the value of the \t{CBUILD} environment variable. This option will only
+ be passed if \t{CBUILD} is non-empty.
\item -{}-host must be the value of the \t{CHOST} environment variable.
+ \item -{}-target must be the value of the \t{CTARGET} environment variable. This option will only
+ be passed if \t{CTARGET} is non-empty.
\item -{}-libdir must be set according to Algorithm~\ref{alg:econf-libdir}.
\item -{}-disable-dependency-tracking, if the EAPI is listed in
table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
--
2.16.2
next reply other threads:[~2018-02-18 14:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-18 14:48 Michał Górny [this message]
2018-02-18 15:08 ` [gentoo-pms] [PATCH v4] pkg-mgr-commands: Add --build and --target to econf (retroactively) Ulrich Mueller
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=20180218144814.21962-1-mgorny@gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-pms@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