diff options
author | Jens Schweikhardt <schweikh@FreeBSD.org> | 2004-01-20 21:09:17 +0000 |
---|---|---|
committer | Jens Schweikhardt <schweikh@FreeBSD.org> | 2004-01-20 21:09:17 +0000 |
commit | 51741a74b8ca509ca980f5e752fbcbb7fa2fe8fd (patch) | |
tree | f5c0e7c755c89663e87a9992a1d63f60c505f199 /en_US.ISO8859-1 | |
parent | 65578e98e3888b1cad40e4f0bd07bfa16aeea15c (diff) | |
download | doc-51741a74b8ca509ca980f5e752fbcbb7fa2fe8fd.tar.gz doc-51741a74b8ca509ca980f5e752fbcbb7fa2fe8fd.zip |
Document PATCH_DEPENDS. Correct some numbers.
PR: 56452
Submitted by: Kang Liu <liukang@bjpu.edu.cn>
Notes
Notes:
svn path=/head/; revision=19760
Diffstat (limited to 'en_US.ISO8859-1')
-rw-r--r-- | en_US.ISO8859-1/books/porters-handbook/book.sgml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index b90dc98d3c..9ad005c7e1 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -2841,7 +2841,7 @@ PATCHFILES= patch1:test</programlisting> <sect1 id="makefile-depend"> <title>Dependencies</title> - <para>Many ports depend on other ports. There are five variables that + <para>Many ports depend on other ports. There are seven variables that you can use to ensure that all the required bits will be on the user's machine. There are also some pre-supported dependency variables for common cases, plus a few more to control the behavior @@ -2994,10 +2994,28 @@ PATCHFILES= patch1:test</programlisting> </sect2> <sect2> + <title><makevar>PATCH_DEPENDS</makevar></title> + + <para>This variable specifies executables or files this port + requires to patch. Like the previous, it is a list of + <replaceable>path</replaceable>:<replaceable>dir</replaceable><optional><replaceable>:target</replaceable></optional> + tuples. For example, <programlisting> PATCH_DEPENDS= + ${NONEXISTENT}:${PORTSDIR}/java/jfc:extract + </programlisting>will descend into the + <filename>java/jfc</filename> subdirectory of your ports tree to + build and install it if it is not found.</para> + + <para>The dependency is checked from within the + <maketarget>patch</maketarget> target. The + <replaceable>target</replaceable> part can be omitted if it is the + same as <makevar>DEPENDS_TARGET</makevar>.</para> + </sect2> + + <sect2> <title><makevar>DEPENDS</makevar></title> <para>If there is a dependency that does not fall into either of the - above four categories, or your port requires having the source of + above categories, or your port requires having the source of the other port extracted in addition to having it installed, then use this variable. This is a list of <replaceable>dir</replaceable><optional><replaceable>:target</replaceable></optional>, |