summaryrefslogtreecommitdiff
path: root/net/amule/patches/patch-aa
blob: a7452059945ebf4b100c161b32b466b7ea155a71 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
$NetBSD: patch-aa,v 1.9 2009/06/06 13:08:27 obache Exp $

* pthread flags portabilities
* avoid check for gettext>=0.11.5
* fixes to install all supported L10N man pages

--- configure.orig	2009-05-16 07:38:31.000000000 +0000
+++ configure
@@ -1998,7 +1998,8 @@ echo "${ECHO_T}yes" >&6
 
 else
 
-			MULELDFLAGS="$MULELDFLAGS -lpthread"
+			MULELDFLAGS="$MULELDFLAGS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+			MULECFLAGS="$MULECFLAGS ${PTHREAD_CFLAGS}"
 			echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6
 
@@ -18080,7 +18081,7 @@ _ACEOF
 fi
 
 
-	if test x$USE_NLS = xyes; then
+	if test xno = xyes; then
 
 	echo "$as_me:$LINENO: checking for autopoint" >&5
 echo $ECHO_N "checking for autopoint... $ECHO_C" >&6
@@ -18116,7 +18117,7 @@ echo $ECHO_N "checking for requested lan
 
 	if test "$AMULE_DAEMON" = "yes"; then
 
-		if test -z "$LINGUAS"; then
+		if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
   AMULE_DAEMON_MANPAGES=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
 else
 
@@ -18136,7 +18137,7 @@ fi
 
 	if test "$AMULECMD" = "yes"; then
 
-		if test -z "$LINGUAS"; then
+		if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
   AMULECMD_MANPAGES=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
 else
 
@@ -18156,7 +18157,7 @@ fi
 
 	if test "$WEB" = "yes"; then
 
-		if test -z "$LINGUAS"; then
+		if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
   WEB_MANPAGES=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
 else
 
@@ -18176,7 +18177,7 @@ fi
 
 	if test "$AMULE_GUI" = "yes"; then
 
-		if test -z "$LINGUAS"; then
+		if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
   AMULE_GUI_MANPAGES=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
 else
 
@@ -18196,7 +18197,7 @@ fi
 
 	if test "$CAS" = "yes"; then
 
-		if test -z "$LINGUAS"; then
+		if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
   CAS_MANPAGES=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
 else
 
@@ -18216,7 +18217,7 @@ fi
 
 	if test "$WXCAS" = "yes"; then
 
-		if test -z "$LINGUAS"; then
+		if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
   WXCAS_MANPAGES=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
 else
 
@@ -18236,7 +18237,7 @@ fi
 
 	if test "$ED2K" = "yes"; then
 
-		if test -z "$LINGUAS"; then
+		if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
   ED2K_MANPAGES=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
 else
 
@@ -18256,7 +18257,7 @@ fi
 
 	if test "$ALC" = "yes"; then
 
-		if test -z "$LINGUAS"; then
+		if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
   ALC_MANPAGES=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
 else
 
@@ -18276,7 +18277,7 @@ fi
 
 	if test "$ALCC" = "yes"; then
 
-		if test -z "$LINGUAS"; then
+		if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
   ALCC_MANPAGES=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
 else
 
@@ -18296,7 +18297,7 @@ fi
 
 	if test "$MONOLITHIC" = "yes"; then
 
-		if test -z "$LINGUAS"; then
+		if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
   MONOLITHIC_MANPAGES=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
 else