-
Notifications
You must be signed in to change notification settings - Fork 491
/
automake-1.14-msys2.patch
67 lines (67 loc) · 1.82 KB
/
automake-1.14-msys2.patch
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
55
56
57
58
59
60
61
62
63
64
65
66
67
diff -Naur automake-1.14-orig/lib/ar-lib automake-1.14/lib/ar-lib
--- automake-1.14-orig/lib/ar-lib 2013-05-09 18:13:08.000000000 +0000
+++ automake-1.14/lib/ar-lib 2013-05-16 09:13:29.442382800 +0000
@@ -53,7 +53,7 @@
MINGW*)
file_conv=mingw
;;
- CYGWIN*)
+ CYGWIN*|MSYS*)
file_conv=cygwin
;;
*)
@@ -65,7 +65,7 @@
mingw)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
- cygwin)
+ cygwin|msys)
file=`cygpath -m "$file" || echo "$file"`
;;
wine)
diff -Naur automake-1.14-orig/lib/compile automake-1.14/lib/compile
--- automake-1.14-orig/lib/compile 2013-05-09 18:13:08.000000000 +0000
+++ automake-1.14/lib/compile 2013-05-16 09:14:34.254882800 +0000
@@ -53,7 +53,7 @@
MINGW*)
file_conv=mingw
;;
- CYGWIN*)
+ CYGWIN*|MSYS*)
file_conv=cygwin
;;
*)
@@ -67,7 +67,7 @@
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
- cygwin/*)
+ cygwin/*|msys/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)
diff -Naur automake-1.14-orig/lib/config.guess automake-1.14/lib/config.guess
--- automake-1.14-orig/lib/config.guess 2013-05-13 20:12:48.000000000 +0000
+++ automake-1.14/lib/config.guess 2013-05-16 09:14:15.176757800 +0000
@@ -845,6 +845,9 @@
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
echo x86_64-unknown-cygwin
exit ;;
+ amd64:MSYS*:*:* | x86_64:MSYS*:*:*)
+ echo x86_64-unknown-msys
+ exit ;;
p*:CYGWIN*:*)
echo powerpcle-unknown-cygwin
exit ;;
diff -Naur automake-1.14-orig/t/compile5.sh automake-1.14/t/compile5.sh
--- automake-1.14-orig/t/compile5.sh 2013-05-09 18:13:08.000000000 +0000
+++ automake-1.14/t/compile5.sh 2013-05-16 09:15:38.355468800 +0000
@@ -47,7 +47,7 @@
;;
esac
case @build_os@ in
- mingw* | cygwin*)
+ mingw* | cygwin* | msys*)
;;
*)
winepath -w / \