Also need to modify pkg.m. canonical_host_type would also no longer be needed. 
  I've filed a bug here:

https://savannah.gnu.org/bugs/index.php?32840

diff -r c2e8c9d9e284 scripts/pkg/pkg.m
--- a/scripts/pkg/pkg.m Thu Mar 17 23:11:47 2011 -0700
+++ b/scripts/pkg/pkg.m Fri Mar 18 11:04:18 2011 -0600
@@ -248,7 +248,7 @@
    if (prefix == -1)
      if (global_install)
        prefix = fullfile (OCTAVE_HOME (), "share", "octave", "packages");
-      archprefix = fullfile (octave_config_info ("libexecdir"),
+      archprefix = fullfile (octave_config_info ("libdir"),
                               "octave", "packages");
      else
        prefix = fullfile ("~", "octave");
@@ -293,7 +293,7 @@
          global_install = true;
          if (! user_prefix)
            prefix = fullfile (OCTAVE_HOME (), "share", "octave", "packages");
-          archprefix = fullfile (octave_config_info ("libexecdir"),
+          archprefix = fullfile (octave_config_info ("libdir"),
                                   "octave", "packages");
          endif
        case available_actions
@@ -2212,14 +2212,13 @@
  endfunction

  function arch = getarch ()
-  persistent _arch = cstrcat (octave_config_info("canonical_host_type"), ...
-                             "-", octave_config_info("api_version"));
+  persistent _arch = octave_config_info("api_version");
    arch = _arch;
  endfunction

  function archprefix = getarchprefix (desc, global_install)
    if ((nargin == 2 && global_install) || (nargin < 2 && issuperuser ()))
-    archprefix = fullfile (octave_config_info ("libexecdir"), "octave",
+    archprefix = fullfile (octave_config_info ("libdir"), "octave",
                             "packages", cstrcat(desc.name, "-", desc.version));
    else
      archprefix = desc.dir;


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  or...@cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to