diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-08-18 01:49:35 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-08-18 01:49:35 +0800 |
commit | c61d50fbb2bbc806d4f437b35c75b8cf5aa43ccc (patch) | |
tree | 37bc5a306e9b89e16857da636fb4964a234c46c2 /games/tuxracer/files | |
parent | 1c86ab0497b39e21f54607ae27f10686591cae87 (diff) | |
download | freebsd-ports-gnome-c61d50fbb2bbc806d4f437b35c75b8cf5aa43ccc.tar.gz freebsd-ports-gnome-c61d50fbb2bbc806d4f437b35c75b8cf5aa43ccc.tar.zst freebsd-ports-gnome-c61d50fbb2bbc806d4f437b35c75b8cf5aa43ccc.zip |
upgrade to 0.61
PR: 28883
Submitted by: MAINTAINER
Diffstat (limited to 'games/tuxracer/files')
-rw-r--r-- | games/tuxracer/files/patch-configure | 38 | ||||
-rw-r--r-- | games/tuxracer/files/patch-configure.in | 32 |
2 files changed, 32 insertions, 38 deletions
diff --git a/games/tuxracer/files/patch-configure b/games/tuxracer/files/patch-configure deleted file mode 100644 index 1932f9caef48..000000000000 --- a/games/tuxracer/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/tuxracer/files/patch-configure.in b/games/tuxracer/files/patch-configure.in new file mode 100644 index 000000000000..d55ba9935293 --- /dev/null +++ b/games/tuxracer/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 + ]) |