summaryrefslogtreecommitdiff
path: root/math/R/patches/patch-ab
blob: a6ff02626f65534ebd8825c085ecff477a211992 (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
$NetBSD: patch-ab,v 1.2 1999/05/25 23:45:06 jlam Exp $

--- configure.orig	Fri May  7 06:25:40 1999
+++ configure	Tue May 25 03:01:46 1999
@@ -812,6 +812,7 @@
 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL} -m 755'
 
 ## Fix a bug in autoconf---the path of the install shell script is
 ## not cached.  Could also use an absolute path in AC_CONFIG_AUX_DIR().
@@ -3619,9 +3620,10 @@
     ;;
   *netbsd*)
     if ${CPP} - -dM < /dev/null | grep -q __ELF__; then
-      DLLFLAGS="-export-dynamic"
+      DLLFLAGS="${LDFLAGS} -export-dynamic"
       SHLIBLDFLAGS="-shared"
     else
+      DLLFLAGS="${LDFLAGS}"
       SHLIBLDFLAGS="-Bshareable"
     fi
     ;;
@@ -4746,6 +4748,7 @@
 s%@config_opts@%$config_opts%g
 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
 s%@INSTALL_DATA@%$INSTALL_DATA%g
+s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
 s%@LN_S@%$LN_S%g
 s%@RANLIB@%$RANLIB%g
 s%@YACC@%$YACC%g