I am using Macports 1.7.1, and I don't want the latest port version, since it does not play nice with some other packages I want to build from source.
How can I force a particular version of a package installed from within macports "port" tool?
|
|
I don't think you can use an older version in MacPorts. The build list is maintained, and doesn't seem to contain many previous versions with the exception of a few packages such as mysql. So, if you do If your package isn't listed, you might have to build from scratch. |
|||
|
|
|
You can create an additional local portfile repository to override some packages. I use this to force MacPorts to use an older version of the 'screen' package (there is an open bug issue with newer versions). The MacPorts guide has the details about how to configure this: http://guide.macports.org/#development.local-repositories |
|||
|
|
The old version of your software is likely still around. Check this by running:
where PACKAGE is what you want to downgrade. This will list out the "fully-qualified" name of the ports that match. You'll see the active port and the old, inactive port. You can switch them by doing something akin to this procedure:
|
|||
|
|