Add a note about the inline strip patch feature.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-04-15 12:42:29 +00:00
parent a3bb8c81d5
commit 55b51897c7
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44560

View file

@ -1973,6 +1973,20 @@ EXTRACT_ONLY= source.tar.gz</programlisting>
<varname>PATCHDIR</varname> directory&mdash;that directory may
not be writable.</para>
<tip>
<para>If there are multiple patches and they need mixed values
for the strip parameter, it can be added alongside the patch
name in <varname>PATCHFILES</varname>, e.g:</para>
<programlisting>PATCHFILES= patch1 patch2:-p1</programlisting>
<para>This does not conflict with <link
linkend="porting-master-sites-n">the master site grouping
feature</link>, the following also works:</para>
<programlisting>PATCHFILES= patch2:-p1:source2</programlisting>
</tip>
<note>
<para>The tarball will have been extracted alongside the
regular source by then, so there is no need to explicitly