summaryrefslogtreecommitdiff
path: root/games/lbreakout/patches/patch-aa
blob: cf2272c0e299bad3ff64d427520fb013361f5d81 (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
$NetBSD: patch-aa,v 1.3 2003/01/25 12:09:12 rh Exp $

--- configure.orig	Thu Mar 15 10:05:08 2001
+++ configure	Tue Aug 14 20:05:05 2001
@@ -1319,7 +1319,7 @@
     no_sdl=yes
   else
     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
-    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
+    SDL_LIBS="`$SDL_CONFIG $sdlconf_args --libs` ${PTHREAD_LIBS} -lcompat"
 
     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
@@ -1708,7 +1708,6 @@
 
 ac_save_LIBS="$LIBS"
 thread_flag=""
-LIBS="$LIBS -pthread"
 cat > conftest.$ac_ext <<EOF
 #line 1714 "configure"
 #include "confdefs.h"
@@ -1720,7 +1719,7 @@
 if { (eval echo configure:1721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   echo "$ac_t"""-pthread used..."" 1>&6
-        thread_flag="-pthread"
+        thread_flag=""
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
@@ -1786,7 +1785,7 @@
 
 
 sdir=$datadir/games/lbreakout
-hdir=/var/lib/games
+hdir=/var/games
 inst_flag="-DSRC_DIR=\\\"$sdir/\\\""
 hi_inst_flag="-DHI_DIR=\\\"$hdir/\\\""