source: trunk/base/doc/port-platform.1.txt

Last change on this file was 126123, checked in by cal@…, 5 years ago

base: document port platform, #44530

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1004 bytes
Line 
1// vim: set et sw=4 ts=8 ft=asciidoc tw=80:
2port-platform(1)
3================
4$Id: port-platform.1.txt 126123 2014-10-04 11:44:06Z cal@macports.org $
5
6NAME
7----
8port-platform - Print the OS version for which MacPorts was built
9
10SYNOPSIS
11--------
12[cmdsynopsis]
13*port* [*-q*] *platform*
14
15DESCRIPTION
16-----------
17This command prints the version of your operating system used to configure and
18build MacPorts. This value is used to detect OS updates and refer users to the
19wiki:Migration[] instructions.
20
21Since MacPorts picks up a number of paths at configure-time and uses them later
22on, changes in the operating system can break a MacPorts installation. For
23example, this happened when Apple removed ``/usr/bin/gnutar'' from OS X with the
24release of Mavericks. Since MacPorts keeps the path to its tar command in
25a file, this change required rebuilding MacPorts.
26
27
28include::global-flags.txt[]
29
30*-q*::
31    Do not print the ``Platform:'' prefix.
32
33SEE ALSO
34--------
35man:port[1], wiki:Migration[]
36
37AUTHORS
38-------
39 (C) 2014 The MacPorts Project
40 Clemens Lang <cal@macports.org>
Note: See TracBrowser for help on using the repository browser.