blob: 10e55e831c8aa3b3bae8c007c08504740d017e61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
$NetBSD: patch-configure,v 1.5 2016/11/19 21:53:12 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 2016-11-13 15:22:50.000000000 +0000
+++ configure
@@ -1971,6 +1971,7 @@ DEFAULT_PAGER
GNUPLOT
GHOSTSCRIPT
DESKTOP_FILE_INSTALL
+INSTALL_LIB
LN_S
TEXI2PDF
TEXI2DVI
@@ -5938,7 +5939,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
@@ -9211,8 +9212,9 @@ fi
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-INSTALL_SCRIPT="${INSTALL}"
+test -z "$INSTALL_LIB" && INSTALL_LIB='${INSTALL_SCRIPT}'
@@ -28323,7 +28325,12 @@ else
fi
done
;;
- -[lLR]*)
+ -R*)
+ ac_arg="-Wl,$ac_arg"
+ shift
+ set X $ac_arg "$@"
+ ;;
+ -[lLR]*|-Wl*)
ac_exists=false
for ac_i in $ac_cv_f77_libs; do
if test x"$ac_arg" = x"$ac_i"; then
|