On May 25, 2013, at 2:34 PM, Shiyuan <[email protected]> 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
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users