svn commit: r44560 - head/en_US.ISO8859-1/books/porters-handbook/makefiles
Mathieu Arnold
mat at FreeBSD.org
Tue Apr 15 12:42:30 UTC 2014
Author: mat (ports committer)
Date: Tue Apr 15 12:42:29 2014
New Revision: 44560
URL: http://svnweb.freebsd.org/changeset/doc/44560
Log:
Add a note about the inline strip patch feature.
Sponsored by: Absolight
Modified:
head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Tue Apr 15 10:08:24 2014 (r44559)
+++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Tue Apr 15 12:42:29 2014 (r44560)
@@ -1973,6 +1973,20 @@ EXTRACT_ONLY= source.tar.gz</programlist
<varname>PATCHDIR</varname> directory—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
More information about the svn-doc-head
mailing list