39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
$NetBSD: patch-aa,v 1.6 2006/05/18 12:10:12 rillig 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_LDFLAGS} ${PTHREAD_LIBS}"
|
|
|
|
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=${VARBASE}/games
|
|
inst_flag="-DSRC_DIR=\\\"$sdir/\\\""
|
|
hi_inst_flag="-DHI_DIR=\\\"$hdir/\\\""
|
|
|