diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2020-11-03 12:39:32 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2020-11-03 12:39:32 +0000 |
commit | 675a891720e648fa3e9edc0d36fe3a6ee01627e5 (patch) | |
tree | 250d4ff73a387c3cc13c5740a45ec7a31c31cd11 /en_US.ISO8859-1/books | |
parent | 7c49346a7f8025b2bd1b1a79c561b6c6d7977d58 (diff) | |
download | doc-675a891720e648fa3e9edc0d36fe3a6ee01627e5.tar.gz doc-675a891720e648fa3e9edc0d36fe3a6ee01627e5.zip |
Explain why BINARY_ALIASES cannot be used for programs from TEST_DEPENDS
PR: 247637
Notes
Notes:
svn path=/head/; revision=54673
Diffstat (limited to 'en_US.ISO8859-1/books')
-rw-r--r-- | en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml b/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml index d5bb99a222..4c2684b588 100644 --- a/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml +++ b/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml @@ -8233,5 +8233,16 @@ BINARY_ALIAS= python3=${PYTHON_CMD}</programlisting> <para>See <xref linkend="using-python" /> for more information about <literal>USES=python</literal>.</para> </example> + + <note> + <para>Binary aliases are created after the dependencies + provided via <literal>BUILD_DEPENDS</literal> and + <literal>LIB_DEPENDS</literal> are processed and before the + <buildtarget>configure</buildtarget> target. This leads + to various limitations. For example, programs installed via + <literal>TEST_DEPENDS</literal> cannot be used to create + a binary alias as test dependencies specified this way + are processed after binary aliases are created.</para> + </note> </sect1> </chapter> |