# HG changeset patch # User Mike Miller # Date 1391385670 28800 # Node ID c2d1869a95ee3fd3a35e2a122175041bce3ef7b0 # Parent 9154dc252f47a9fba5eb963140a0271f4556d38e Pass --verbose option to mkoctfile when installing packages with --verbose (bug #41351). * scripts/pkg/private/configure_make.m: Add '--verbose' to mkoctfile call when in verbose mode of pkg install. diff -r 9154dc252f47 -r c2d1869a95ee scripts/pkg/private/configure_make.m --- a/scripts/pkg/private/configure_make.m Fri Jan 31 12:02:04 2014 -0500 +++ b/scripts/pkg/private/configure_make.m Sun Feb 02 16:01:10 2014 -0800 @@ -32,11 +32,6 @@ mkoctfile_program = fullfile (octave_bindir, sprintf ("mkoctfile-%s%s", ver, ext)); octave_config_program = fullfile (octave_bindir, sprintf ("octave-config-%s%s", ver, ext)); octave_binary = fullfile (octave_bindir, sprintf ("octave-%s%s", ver, ext)); - cenv = {"MKOCTFILE"; mkoctfile_program; - "OCTAVE_CONFIG"; octave_config_program; - "OCTAVE"; octave_binary; - "INSTALLDIR"; desc.dir}; - scenv = sprintf ("%s=\"%s\" ", cenv{:}); if (! exist (mkoctfile_program, "file")) __gripe_missing_component__ ("pkg", "mkoctfile"); @@ -48,6 +43,16 @@ __gripe_missing_component__ ("pkg", "octave"); endif + if (verbose) + mkoctfile_program = [mkoctfile_program " --verbose"]; + endif + + cenv = {"MKOCTFILE"; mkoctfile_program; + "OCTAVE_CONFIG"; octave_config_program; + "OCTAVE"; octave_binary; + "INSTALLDIR"; desc.dir}; + scenv = sprintf ("%s=\"%s\" ", cenv{:}); + ## Configure. if (exist (fullfile (src, "configure"), "file")) flags = "";