summaryrefslogtreecommitdiff
path: root/sys-devel/libtool/files/libtool-2.4.6-mint.patch
blob: 341a0f02ef1e4d7f5a1cb310cf1d993110a1ba4d (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
Patch by Alan Hourihane

http://bugs.gentoo.org/show_bug.cgi?id=266984

diff -ur libtool-2.2.6/configure libtool-2.2.6-mint/configure
--- libtool-2.2.6/configure	2008-09-07 17:52:50.000000000 +0000
+++ libtool-2.2.6/configure	2009-04-21 08:49:27.000000000 +0000
@@ -4986,6 +4986,11 @@
     lt_cv_sys_max_cmd_len=8192;
     ;;
 
+  mint*)
+    # On MiNT this can take a long time and run out of memory.
+    lt_cv_sys_max_cmd_len=8192;
+    ;;
+
   amigaos*)
     # On AmigaOS with pdksh, this test takes hours, literally.
     # So we just punt and use a minimum line length of 8192.
diff -ur libtool-2.2.6/libltdl/configure libtool-2.2.6-mint/libltdl/configure
--- libtool-2.2.6/libltdl/configure	2008-09-07 17:53:05.000000000 +0000
+++ libtool-2.2.6/libltdl/configure	2009-04-21 08:50:08.000000000 +0000
@@ -4422,6 +4422,11 @@
     lt_cv_sys_max_cmd_len=8192;
     ;;
 
+  mint*)
+    # On MiNT this can take a long time and run out of memory.
+    lt_cv_sys_max_cmd_len=8192;
+    ;;
+
   amigaos*)
     # On AmigaOS with pdksh, this test takes hours, literally.
     # So we just punt and use a minimum line length of 8192.
diff -ur libtool-2.2.6/libltdl/m4/libtool.m4 libtool-2.2.6-mint/libltdl/m4/libtool.m4
--- libtool-2.2.6/m4/libtool.m4	2008-09-05 11:54:41.000000000 +0000
+++ libtool-2.2.6/m4/libtool.m4	2009-04-21 08:50:26.000000000 +0000
@@ -1527,6 +1527,11 @@
     lt_cv_sys_max_cmd_len=8192;
     ;;
 
+  mint*)
+    # On MiNT this can take a long time and run out of memory.
+    lt_cv_sys_max_cmd_len=8192;
+    ;;
+
   amigaos*)
     # On AmigaOS with pdksh, this test takes hours, literally.
     # So we just punt and use a minimum line length of 8192.