configure/make options
Lawrence Velázquez
larryv at macports.org
Sat May 25 14:17:59 PDT 2013
On May 25, 2013, at 2:34 PM, Shiyuan <gshy2014 at gmail.com> wrote:
> Besides the options specified in the portfiles, Macports also add some configure options by default. Is there a way I can see what configure commands/options finally run for a port? Is such information logged and saved somewhere?
Yes, MacPorts records the commands in the port's main.log, located at `port logfile FOO`. You'll see lines like these for each stage:
:debug:configure Environment: [stuff]
:debug:configure Assembled command: [other stuff]
:debug:configure Executing command line: [MOAR STUFF]
By default, the log is deleted after successful port activation. To always keep logs, set "keeplogs yes" in macports.conf. To do so on a case-by-case basis, use the "-k" option when installing ports (i.e., `port -k install`); you'll have to remember to manually run `port clean FOO` afterwards.
vq
More information about the macports-users
mailing list