summaryrefslogtreecommitdiff
path: root/math/octave/patches/patch-scripts_pkg_private_configure__make.m
blob: 66c1267c03d5f0b5eb83f92e0b1acfad62790072 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-scripts_pkg_private_configure__make.m,v 1.2 2022/10/24 18:02:19 adam Exp $

Provide path to GNU make, since this is what assumed here.

--- scripts/pkg/private/configure_make.m.orig	2022-07-28 13:08:26.000000000 +0000
+++ scripts/pkg/private/configure_make.m
@@ -110,7 +110,7 @@ function configure_make (desc, packdir, 
     endif
 
     if (exist (fullfile (src, "Makefile"), "file"))
-      [status, output] = shell (sprintf ("%s make --jobs %i --directory '%s'",
+      [status, output] = shell (sprintf ("%s @GMAKE@ --jobs %i --directory '%s'",
                                          scenv, jobs, src), verbose);
       if (status != 0)
         disp (output);