Friday, September 28, 2012

Macports madness

How to install older versions with MacPorts:
  1. Go to https://trac.macports.org/browser/trunk/dports and find the revision and directory you want. In my case, it was 91935 and devel/automake
  2. Go to some temporary directory (one accessible to everybody; see step 5)
  3. svn co -r 91935 http://svn.macports.org/repository/macports/trunk/dports/devel/automake
  4. cd automake
  5. Change read/write permissions and/or ownership so that macports can access Portfile and potentially files. For example, sudo chown -R macports:macports Portfile files
  6. sudo port install
  7. You can check the newly-installed version with port installed automake

No comments:

Post a Comment