summaryrefslogtreecommitdiff
path: root/net/amule/patches/patch-aa
blob: dd723fbc99f6ef2f2820a74f30a5245074a83f38 (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.10 2013/06/15 02:34:19 ryoon Exp $

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

--- configure.orig	2011-11-11 20:59:26.000000000 +0000
+++ configure
@@ -3364,7 +3364,8 @@ case $host_os in *\ *) host_os=`echo "$h
 $as_echo_n "checking if this is a FreeBSD 4 or earlier system... " >&6; }
 		if test x"`uname -s`" = xFreeBSD && test 0`uname -r | cut -c 1` -lt 5; then :
 
-			MULELDFLAGS="$MULELDFLAGS -pthread"
+			MULELDFLAGS="$MULELDFLAGS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+			MULECFLAGS="$MULECFLAGS ${PTHREAD_CFLAGS}"
 			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
 
@@ -13760,7 +13761,7 @@ $as_echo "#define HAVE_DCGETTEXT 1" >>co
   INCINTL=-I\${top_builddir}/intl
 fi
 
-	if test x$USE_NLS = xyes; then :
+	if test xno = xyes; then :
 
 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for autopoint" >&5
 $as_echo_n "checking for autopoint... " >&6; }
@@ -13800,7 +13801,7 @@ $as_echo_n "checking for requested langu
 
 	if test ${enable_amule_daemon:-no} = 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
 
@@ -13818,7 +13819,7 @@ fi
 
 	if test ${enable_amulecmd:-no} = 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
 
@@ -13836,7 +13837,7 @@ fi
 
 	if test ${enable_webserver:-no} = yes; then :
 
-		if test -z "$LINGUAS"; then :
+		if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
   WEBSERVER_MANPAGES=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
 else
 
@@ -13854,7 +13855,7 @@ fi
 
 	if test ${enable_amule_gui:-no} = 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
 
@@ -13872,7 +13873,7 @@ fi
 
 	if test ${enable_cas:-no} = 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
 
@@ -13890,7 +13891,7 @@ fi
 
 	if test ${enable_wxcas:-no} = 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
 
@@ -13908,7 +13909,7 @@ fi
 
 	if test ${enable_ed2k:-yes} = 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
 
@@ -13926,7 +13927,7 @@ fi
 
 	if test ${enable_alc:-no} = 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
 
@@ -13944,7 +13945,7 @@ fi
 
 	if test ${enable_alcc:-no} = 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
 
@@ -13962,7 +13963,7 @@ fi
 
 	if test ${enable_monolithic:-yes} = 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