Changes between Version 9 and Version 10 of howto/InstallingOlderPort


Ignore:
Timestamp:
Jul 16, 2009, 7:09:54 PM (15 years ago)
Author:
blb@…
Comment:

Add new section with a complete example (for php5)

Legend:

Unmodified
Added
Removed
Modified
  • howto/InstallingOlderPort

    v9 v10  
    7474This creates a tcl directory in your current location, and populates that with everything the port needs to build.  Replace "30810" and "lang/tcl" with the correct revision and category/portname for the port you're interested in.
    7575
     76== An example ==
     77The following shows a complete example:
     78
     79{{{port info php5}}} shows it to be first in the '''lang''' category, so it would be located in lang/php5.
     80
     81After browsing [log:trunk/dports/lang/php5 php5's history], 5.3.0 was introduced in r53563 which means the previous revision, r53555, was the last update for 5.2.10.  With this information, we can run
     82{{{
     83svn co -r 53555 http://svn.macports.org/repository/macports/trunk/dports/lang/php5
     84cd php5
     85sudo port install +apache2+postgresql83
     86}}}
     87
     88After this, php5 version 5.2.10 should be installed.
     89
    7690[wiki:howto <- Back to the HOWTO section]