Add freeglut3 and libdrm
[kopensolaris-gnu/patches.git] / man-db-2.5.2.diff
1 diff -uraN man-db-2.5.2.orig/configure man-db-2.5.2/configure
2 --- man-db-2.5.2.orig/configure 2008-05-04 21:12:11.000000000 -0400
3 +++ man-db-2.5.2/configure      2008-09-28 06:59:16.440463243 -0400
4 @@ -13228,7 +13228,7 @@
5                  if test "X$additional_includedir" = "X/usr/local/include"; then
6                    if test -n "$GCC"; then
7                      case $host_os in
8 -                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
9 +                      linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) haveit=yes;;
10                      esac
11                    fi
12                  fi
13 @@ -13272,7 +13272,7 @@
14                        if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15                          if test -n "$GCC"; then
16                            case $host_os in
17 -                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18 +                            linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) haveit=yes;;
19                            esac
20                          fi
21                        fi
22 @@ -31652,7 +31652,7 @@
23                  if test "X$additional_includedir" = "X/usr/local/include"; then
24                    if test -n "$GCC"; then
25                      case $host_os in
26 -                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
27 +                      linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) haveit=yes;;
28                      esac
29                    fi
30                  fi
31 @@ -31696,7 +31696,7 @@
32                        if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
33                          if test -n "$GCC"; then
34                            case $host_os in
35 -                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
36 +                            linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) haveit=yes;;
37                            esac
38                          fi
39                        fi
40 @@ -34363,7 +34363,7 @@
41                  if test "X$additional_includedir" = "X/usr/local/include"; then
42                    if test -n "$GCC"; then
43                      case $host_os in
44 -                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
45 +                      linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) haveit=yes;;
46                      esac
47                    fi
48                  fi
49 @@ -34407,7 +34407,7 @@
50                        if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
51                          if test -n "$GCC"; then
52                            case $host_os in
53 -                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
54 +                            linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) haveit=yes;;
55                            esac
56                          fi
57                        fi
58 diff -uraN man-db-2.5.2.orig/m4/lib-link.m4 man-db-2.5.2/m4/lib-link.m4
59 --- man-db-2.5.2.orig/m4/lib-link.m4    2007-12-13 06:14:43.000000000 -0500
60 +++ man-db-2.5.2/m4/lib-link.m4 2008-09-28 06:59:20.293623110 -0400
61 @@ -432,7 +432,7 @@
62                  if test "X$additional_includedir" = "X/usr/local/include"; then
63                    if test -n "$GCC"; then
64                      case $host_os in
65 -                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
66 +                      linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) haveit=yes;;
67                      esac
68                    fi
69                  fi
70 @@ -481,7 +481,7 @@
71                        if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
72                          if test -n "$GCC"; then
73                            case $host_os in
74 -                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
75 +                            linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) haveit=yes;;
76                            esac
77                          fi
78                        fi
79 diff -uraN man-db-2.5.2.orig/m4/lib-prefix.m4 man-db-2.5.2/m4/lib-prefix.m4
80 --- man-db-2.5.2.orig/m4/lib-prefix.m4  2007-10-13 20:02:42.000000000 -0400
81 +++ man-db-2.5.2/m4/lib-prefix.m4       2008-09-28 06:59:18.800700496 -0400
82 @@ -70,7 +70,7 @@
83          if test "X$additional_includedir" = "X/usr/local/include"; then
84            if test -n "$GCC"; then
85              case $host_os in
86 -              linux* | gnu* | k*bsd*-gnu) haveit=yes;;
87 +              linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) haveit=yes;;
88              esac
89            fi
90          fi
91 diff -uraN man-db-2.5.2.orig/tools/config.rpath man-db-2.5.2/tools/config.rpath
92 --- man-db-2.5.2.orig/tools/config.rpath        2008-03-30 03:55:24.000000000 -0400
93 +++ man-db-2.5.2/tools/config.rpath     2008-09-28 06:59:23.733254987 -0400
94 @@ -74,7 +74,7 @@
95        ;;
96      newsos6)
97        ;;
98 -    linux* | k*bsd*-gnu)
99 +    linux* | k*bsd*-gnu | kopensolaris*-gnu)
100        case $cc_basename in
101          icc* | ecc*)
102            wl='-Wl,'
103 @@ -196,7 +196,7 @@
104        hardcode_direct=no
105        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
106        ;;
107 -    gnu* | linux* | k*bsd*-gnu)
108 +    gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
109        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
110          :
111        else
112 @@ -576,7 +576,7 @@
113      ;;
114    linux*oldld* | linux*aout* | linux*coff*)
115      ;;
116 -  linux* | k*bsd*-gnu)
117 +  linux* | k*bsd*-gnu | kopensolaris*-gnu)
118      library_names_spec='$libname$shrext'
119      ;;
120    knetbsd*-gnu)