[MacPorts] howto/PatchLocal modified

MacPorts noreply at macports.org
Mon Sep 9 02:14:00 PDT 2013


Page "howto/PatchLocal" was changed by cal at macports.org
Diff URL: <https://trac.macports.org/wiki/howto/PatchLocal?action=diff&version=5>
Revision 5
Comment: Fix some paths
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/PatchLocal
=========================================================================
--- howto/PatchLocal (version: 4)
+++ howto/PatchLocal (version: 5)
@@ -37,7 +37,7 @@
 
 Then run this command:
 {{{
-portindex 
+cd /usr/local/ports && portindex 
 }}}
 
 === Step 2: '''Get your port's sourcecode''' ===
@@ -59,8 +59,8 @@
 
 See http://guide.macports.org/#development.patches.source
 {{{
-diff -u Makefile.orig Makefile > /usr/local/ports/arb/files/patch-ARB-makefile2.diff
-port edit arb-devel     (add the patch-ARB-makefile2.diff file to the list of patches)
+diff -u Makefile.orig Makefile > `port dir arb-devel`/files/patch-ARB-makefile2.diff
+port edit arb-devel # (add the patch-ARB-makefile2.diff file to the list of patches)
 }}}
 
 === Step 5: '''Test the modified port''' ===
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/howto/PatchLocal>
MacPorts <http://www.macports.org/>
Ports system for OS X

This is an automated message. Someone added your email address to be
notified of changes on 'howto/PatchLocal' page.
If it was not you, please report to .


More information about the macports-changes mailing list