summaryrefslogtreecommitdiff
path: root/games/xshisen/files/patch-aa
blob: 91bf2f8fcec17ccfbfa7581b86c005eae5d4f184 (plain) (blame)
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
--- configure.orig	Tue Feb 27 06:29:29 1996
+++ configure	Sun Sep 27 16:15:59 1998
@@ -9,9 +9,9 @@
 
 # Defaults:
 ac_help=
-ac_default_prefix=/usr/local
+ac_default_prefix=/usr/X11R6
 # Any additions from configure.in:
-ac_default_prefix=/usr/local
+ac_default_prefix=/usr/X11R6
 ac_help="$ac_help
   --with-x                use the X Window System"
 ac_help="$ac_help
@@ -53,7 +53,7 @@
 bindir='${exec_prefix}/bin'
 sbindir='${exec_prefix}/sbin'
 libexecdir='${exec_prefix}/libexec'
-datadir='${prefix}/share'
+datadir='${prefix}/lib/X11'
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
@@ -1370,7 +1370,11 @@
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  LIBS="-lXt -lX11 $LIBS"
+  if [ "$PORTOBJFORMAT" = "elf" ]; then
+    LIBS="-lXpm -lXaw -lXt -lX11 $LIBS"
+  else
+    LIBS="-lXt -lX11 $LIBS"
+  fi
 else
   echo "$ac_t""no" 1>&6
 fi
@@ -1577,13 +1581,13 @@
 
 
 # Check whether --enable-japanese or --disable-japanese was given.
-if test "${enable_japanese+set}" = set; then
-  enableval="$enable_japanese"
-  cat >> confdefs.h <<EOF
+#if test "${enable_japanese+set}" = set; then
+#  enableval="$enable_japanese"
+#  cat >> confdefs.h <<EOF
 #define KANJICODE "${enable_japanese}"
-EOF
+#EOF
 
-fi
+#fi
 
 
 cat >> confdefs.h <<\EOF