[MacPorts] howto/PatchLocal modified

MacPorts noreply at macports.org
Thu Oct 4 16:44:32 PDT 2012


Page "howto/PatchLocal" was changed by macports.org at ch.pkts.ca
Diff URL: <https://trac.macports.org/wiki/howto/PatchLocal?action=diff&version=2>
Revision 2
Comment: Testing the port, after testing the program
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/PatchLocal
=========================================================================
--- howto/PatchLocal (version: 1)
+++ howto/PatchLocal (version: 2)
@@ -14,14 +14,14 @@
 === Step 1: '''Get your port's sourcecode''' ===
 
 {{{
-   port patch arb
-   find /opt/local/var/macports -name 'arb*'
+port patch arb
+find /opt/local/var/macports -name 'arb*'
 }}}
 
 I found:
 {{{
-   /opt/local/var/macports/distfiles/arb
-   /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_arb/arb/work/arbsrc_8210/
+/opt/local/var/macports/distfiles/arb
+/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_arb/arb/work/arbsrc_8210/
 }}}
 
 === Step 2: '''Modify the source with your patch''' ===
@@ -30,7 +30,7 @@
 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_arb/arb/work/
 cp Makefile Makefile.orig
 vi Makefile
-* make changes, compile, test *
+* make changes, compile it, test it *
 }}}
 
 === Step 3: '''Make a patch''' ===
@@ -40,6 +40,13 @@
 port edit arb     (add the patch-ARB-makefile2.diff file to the list of patches)
 }}}
 
+=== Step 4: '''Test the modified port''' ===
+
+{{{
+port clean arb
+port build arb
+}}}
+
 === Step 4: '''Make it real''' ===
 
 {{{
-------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 Mac OS

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