update Sun Mar 14 06:37:03 PDT 2010
[pkgsrc.git] / misc / xtide / patches / patch-ad
1 $NetBSD: patch-ad,v 1.2 2009/11/09 12:46:54 joerg Exp $
2
3 Kill broken X11 check.
4
5 --- configure.orig      2006-03-14 01:54:31.000000000 +0100
6 +++ configure
7 @@ -2596,20 +2596,8 @@ fi
8  
9  echo "$as_me:$LINENO: checking location of X11" >&5
10  echo $ECHO_N "checking location of X11... $ECHO_C" >&6
11 -xroot="NOT FOUND"
12 -for dir in "/usr/X11R6" "/usr/openwin" "/usr/contrib/X11R6" "/usr"; do
13 -  if test -r "$dir/lib/libXaw.so" -o -r "$dir/lib/libXaw.a" -o -r "$dir/lib/libXaw.dll.a"; then
14 -    xroot="$dir"
15 -    xlibdir="$dir/lib"
16 -    break
17 -  else
18 -    if test -r "$dir/lib64/libXaw.so" -o -r "$dir/lib64/libXaw.a" -o -r "$dir/lib64/libXaw.dll.a"; then
19 -      xroot="$dir"
20 -      xlibdir="$dir/lib64"
21 -      break
22 -    fi
23 -  fi
24 -done
25 +xroot="$X11BASE"
26 +xlibdir="$xroot/lib"
27  echo "$as_me:$LINENO: result: $xroot" >&5
28  echo "${ECHO_T}$xroot" >&6
29  if test "$xroot" = "NOT FOUND"; then