summaryrefslogtreecommitdiff
path: root/games/etuxracer/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-17 17:49:35 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-17 17:49:35 +0000
commit4fd0db35332ff62017d8f0cadbea348df6309db3 (patch)
tree3bc8c62e5117bb676aaa87f4c7c9aba93686111b /games/etuxracer/files
parentAdd missing manpage. (diff)
upgrade to 0.61
PR: 28883 Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=46387
Diffstat (limited to 'games/etuxracer/files')
-rw-r--r--games/etuxracer/files/patch-configure38
-rw-r--r--games/etuxracer/files/patch-configure.in32
2 files changed, 32 insertions, 38 deletions
diff --git a/games/etuxracer/files/patch-configure b/games/etuxracer/files/patch-configure
deleted file mode 100644
index 1932f9caef48..000000000000
--- a/games/etuxracer/files/patch-configure
+++ /dev/null
@@ -1,38 +0,0 @@
---- configure.orig Tue Apr 18 09:05:12 2000
-+++ configure Mon Jan 15 03:26:36 2001
-@@ -2776,7 +2776,7 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-lMesaGL $LIBS"
-+LIBS="-lMesaGL -lc_r $LIBS"
- cat > conftest.$ac_ext <<EOF
- #line 2782 "configure"
- #include "confdefs.h"
-@@ -2810,7 +2810,7 @@
- #define $ac_tr_lib 1
- EOF
-
-- LIBS="-lMesaGL $LIBS"
-+ LIBS="-lMesaGL -lc_r $LIBS"
-
- else
- echo "$ac_t""no" 1>&6
-@@ -2874,7 +2874,7 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-lMesaGLU $LIBS"
-+LIBS="-lMesaGLU -lc_r $LIBS"
- cat > conftest.$ac_ext <<EOF
- #line 2880 "configure"
- #include "confdefs.h"
-@@ -2908,7 +2908,7 @@
- #define $ac_tr_lib 1
- EOF
-
-- LIBS="-lMesaGLU $LIBS"
-+ LIBS="-lMesaGLU -lc_r $LIBS"
-
- else
- echo "$ac_t""no" 1>&6
diff --git a/games/etuxracer/files/patch-configure.in b/games/etuxracer/files/patch-configure.in
new file mode 100644
index 000000000000..d55ba9935293
--- /dev/null
+++ b/games/etuxracer/files/patch-configure.in
@@ -0,0 +1,32 @@
+--- configure.in.orig Mon Apr 30 16:23:53 2001
++++ configure.in Mon Apr 30 16:39:21 2001
+@@ -303,6 +303,10 @@
+
+ saved_LIBS="$LIBS"
+
++if test "x$THREAD_LIB" = "x" ; then
++ THREAD_LIB="-lpthread"
++fi
++
+ AC_DEFUN( CHECK_FOR_GL_LIB, [
+ AC_MSG_CHECKING([for $GL_LIB_NAME library])
+ LIBS="$saved_LIBS $TR_LIBS $GL_LDOPTS -l$GL_LIB_NAME"
+@@ -313,15 +317,15 @@
+ TR_LIBS="$TR_LIBS $GL_LDOPTS -l$GL_LIB_NAME"
+
+ else
+- dnl Try with -lpthread
++ dnl Try with pthreads
+
+ AC_MSG_CHECKING([for $GL_LIB_NAME library (with pthreads)])
+- LIBS="$saved_LIBS $TR_LIBS $GL_LDOPTS -l$GL_LIB_NAME -lpthread"
++ LIBS="$saved_LIBS $TR_LIBS $GL_LDOPTS -l$GL_LIB_NAME $THREAD_LIB"
+ AC_TRY_LINK( , , have_GL=yes, have_GL=no)
+ AC_MSG_RESULT([$have_GL])
+
+ if test "x$have_GL" = "xyes" ; then
+- TR_LIBS="$TR_LIBS $GL_LDOPTS -l$GL_LIB_NAME -lpthread"
++ TR_LIBS="$TR_LIBS $GL_LDOPTS -l$GL_LIB_NAME $THREAD_LIB"
+ fi
+ fi
+ ])