[MacPorts] howto/InstallingOlderPort modified
MacPorts
noreply at macports.org
Wed Aug 10 23:38:56 PDT 2016
Page "howto/InstallingOlderPort" was changed by from.macports at jdlh.com
Diff URL: <https://trac.macports.org/wiki/howto/InstallingOlderPort?action=diff&version=19>
Revision 19
Comment: New section: Working with the older ports
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/InstallingOlderPort
=========================================================================
--- howto/InstallingOlderPort (version: 18)
+++ howto/InstallingOlderPort (version: 19)
@@ -127,6 +127,27 @@
Make sure you specify the subport exactly as shown at the top of the output of `port info`. MacPorts [ticket:34619 will not warn or notify you] if you misspell a subport name or request a subport that does not exist.
+=== Working with the older ports === #workingwith
+
+Once the port is installed, be careful about using the portname with other commands.
+
+{{{
+$ sudo port install tcl
+}}}
+will install the _current_ version of tcl, even though you are in a directory with an older version of tcl. Leave off the port name to install the older version from the current directory.
+
+Similarly for other commands like '''port logfile''', there is a difference between specifying the name of a port and leaving it out. Specifying the version number of the older port doesn't work; many port commands ignore a version specifier.
+
+{{{
+$ port logfile MPlayer
+/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_MPlayer/MPlayer/main.log
+$ port logfile
+/opt/local/var/macports/logs/_Users_myuser_tmp_mplayer_1.1_8_MPlayer/MPlayer/main.log
+$ port logfile MPlayer @1.1_8
+/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_MPlayer/MPlayer/main.log
+}}}
+
+
=== Another example === #example
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/howto/InstallingOlderPort>
MacPorts <https://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/InstallingOlderPort' page.
If it was not you, please report to .
More information about the macports-changes
mailing list