summaryrefslogtreecommitdiff
path: root/math/octave/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave/patches/patch-configure')
-rw-r--r--math/octave/patches/patch-configure23
1 files changed, 19 insertions, 4 deletions
diff --git a/math/octave/patches/patch-configure b/math/octave/patches/patch-configure
index 94a379de76d..f5e41b6b463 100644
--- a/math/octave/patches/patch-configure
+++ b/math/octave/patches/patch-configure
@@ -1,10 +1,16 @@
-$NetBSD: patch-configure,v 1.3 2016/02/16 04:21:40 dbj Exp $
+$NetBSD: patch-configure,v 1.4 2016/09/28 02:54:15 maya Exp $
install .oct loadable modules with INSTALL_LIB to avoid stripping them
+we pass and assume a given MACHINE_GNU_PLATFORM, but this package did not
+use this value due to an error.
+the guess it had for linux (x86_64-unknown-linux-gnu), seems to trample
+over our own tools:
+https://mail-index.netbsd.org/pkgsrc-users/2014/03/26/msg019464.html
+
--- configure.orig 2015-05-26 16:21:37.000000000 +0000
+++ configure
-@@ -1951,6 +1951,7 @@ DEFAULT_PAGER
+@@ -1952,6 +1952,7 @@ DEFAULT_PAGER
GNUPLOT
GHOSTSCRIPT
DESKTOP_FILE_INSTALL
@@ -12,7 +18,16 @@ install .oct loadable modules with INSTALL_LIB to avoid stripping them
LN_S
TEXI2PDF
TEXI2DVI
-@@ -8609,7 +8610,9 @@ fi
+@@ -5870,7 +5871,7 @@ case $host_os in *\ *) host_os=`echo "$h
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: configuring Octave for unknown system type" >&5
+ $as_echo "$as_me: WARNING: configuring Octave for unknown system type" >&2;}
+ fi
+- canonical_host_type=$host
++ canonical_host_type=$host_alias
+
+ if test -z "$host_cpu"; then
+ host_cpu=unknown
+@@ -8620,7 +8621,9 @@ fi
@@ -23,7 +38,7 @@ install .oct loadable modules with INSTALL_LIB to avoid stripping them
-@@ -13788,7 +13791,12 @@ else
+@@ -14005,7 +14008,12 @@ else
fi
done
;;