[46988] trunk/doc-new/guide/xml/portfiledev.xml
markd at macports.org
markd at macports.org
Wed Feb 18 23:35:22 PST 2009
Revision: 46988
http://trac.macports.org/changeset/46988
Author: markd at macports.org
Date: 2009-02-18 23:35:21 -0800 (Wed, 18 Feb 2009)
Log Message:
-----------
Minor wording changes in previous source patch section mods.
Modified Paths:
--------------
trunk/doc-new/guide/xml/portfiledev.xml
Modified: trunk/doc-new/guide/xml/portfiledev.xml
===================================================================
--- trunk/doc-new/guide/xml/portfiledev.xml 2009-02-19 04:55:31 UTC (rev 46987)
+++ trunk/doc-new/guide/xml/portfiledev.xml 2009-02-19 07:35:21 UTC (rev 46988)
@@ -588,9 +588,9 @@
<para>You should execute the <command>diff</command> command from
the top-level directory of the unpacked source code, because during
the patch phase MacPorts by default uses the patch argument
- <option>-p0</option>, which does not strip prefixes containing any
- leading slashes from file names found in the patch file (as opposed
- to <option>-p1</option> that strips one, etc), and any path not
+ <option>-p0</option>, which does not strip prefixes with any leading
+ slashes from file names found in the patch file (as opposed to
+ <option>-p1</option> that strips one, etc), and any path not
relative to the top-level directory of the unpacked source will fail
during the patch phase.</para>
@@ -599,8 +599,9 @@
that contains leading path information (diff was executed from a
directory higher than the top-level source directory), you will
need to use the <link linkend="reference.phases.patch">patch phase
- keyword</link> <code>patch.pre_args</code> to specify some
- prefixes containing leading slashes be stripped off.</para>
+ keyword</link> <code>patch.pre_args</code> to specify a
+ <option>-px</option> value for how many prefixes with leading
+ slashes are to be stripped off.</para>
</note>
</listitem>
@@ -807,4 +808,4 @@
${name}-src-${version}</para>
</section>
</section>
-</chapter>
+</chapter>
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090218/1ba24d2c/attachment.html>
More information about the macports-changes
mailing list