summaryrefslogtreecommitdiff
path: root/wm/windowmaker/patches/patch-ab
blob: d57783e1ae5ccc587509189b786e715a83ccb3fa (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
$NetBSD: patch-ab,v 1.11 2002/08/25 21:50:51 mjl Exp $

--- configure.orig	Tue Jul  2 02:37:46 2002
+++ configure	Sun Aug 25 00:59:32 2002
@@ -9660,43 +9660,18 @@
 
 
 
-supported_locales="bg cs da de el es et fi fr gl hr hu it ja ko ms nl no pl pt ro ru sk sv tr zh_CN zh_TW.Big5"
-supported_wprefs_locales="bg cs de es et fi fr hr hu it ja ko pt ru sk zh_CN zh_TW.Big5"
+supported_locales="bg cs da de el es et fi fr gl hr hu it ja ko ms nl no pl pt ro ru sk sv tr zh_CN"
+supported_wprefs_locales="bg cs de es et fi fr hr hu it ja ko pt ru sk zh_CN"
 supported_wings_locales="cs de sk"
 
-for lang in $LINGUAS; do
-	ok=0
-	for l in $supported_locales; do
-		if test "$l" = "$lang"; then
-			ok=1
-			break
-		fi
-	done
-	if test "$ok" = 1; then
-		MOFILES="$MOFILES $lang.mo"
-	else
-		echo "Locale $lang is not supported."
-	fi
-	ok=0
-	for l in $supported_wprefs_locales; do
-		if test "$l" = "$lang"; then
-			ok=1
-			break
-		fi
-	done
-	if test "$ok" = 1; then
-		WPMOFILES="$WPMOFILES $lang.mo"
-	fi
-	ok=0
-	for l in $supported_wings_locales; do
-		if test "$l" = "$lang"; then
-			ok=1
-			break
-		fi
-	done
-	if test "$ok" = 1; then
-		WINGSMOFILES="$WINGSMOFILES $lang.mo"
-	fi
+for lang in $supported_locales; do
+	MOFILES="$MOFILES $lang.mo"
+done
+for lang in $supported_wprefs_locales; do
+	WPMOFILES="$WPMOFILES $lang.mo"
+done
+for lang in $supported_wings_locales; do
+	WINGSMOFILES="$WINGSMOFILES $lang.mo"
 done
 
 
@@ -13432,8 +13407,8 @@
     fi
 fi
 
-LIBRARY_SEARCH_PATH="$lib_search_path"
-HEADER_SEARCH_PATH="$inc_search_path"
+LIBRARY_SEARCH_PATH="-L${BUILDLINK_DIR}/lib -L${BUILDLINK_X11_DIR}/lib"
+HEADER_SEARCH_PATH="-I${BUILDLINK_DIR}/include -I${BUILDLINK_X11_DIR}/include"