diff options
author | vanilla <vanilla@FreeBSD.org> | 2001-01-15 03:33:01 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2001-01-15 03:33:01 +0800 |
commit | bdc190dc438b44634aaa745af332891cdc8c8a50 (patch) | |
tree | 8b339c9aff9fd0a1a77f1f454cc075eea590c76e /games/tuxracer-commercial | |
parent | cdf673d1991edc62025b589e45c74165a472d0e2 (diff) | |
download | freebsd-ports-gnome-bdc190dc438b44634aaa745af332891cdc8c8a50.tar.gz freebsd-ports-gnome-bdc190dc438b44634aaa745af332891cdc8c8a50.tar.zst freebsd-ports-gnome-bdc190dc438b44634aaa745af332891cdc8c8a50.zip |
Use --with-tcl-lib-name=tcl82, and add a fix when Mesa compile with thread support.
Diffstat (limited to 'games/tuxracer-commercial')
-rw-r--r-- | games/tuxracer-commercial/Makefile | 3 | ||||
-rw-r--r-- | games/tuxracer-commercial/files/patch-aa | 10 | ||||
-rw-r--r-- | games/tuxracer-commercial/files/patch-configure | 38 |
3 files changed, 40 insertions, 11 deletions
diff --git a/games/tuxracer-commercial/Makefile b/games/tuxracer-commercial/Makefile index 662c933ac6a0..2bfffbf38062 100644 --- a/games/tuxracer-commercial/Makefile +++ b/games/tuxracer-commercial/Makefile @@ -20,9 +20,10 @@ LIB_DEPENDS= glut.3:${PORTSDIR}/graphics/Mesa3 \ USE_X_PREFIX= yes USE_GMAKE= yes -USE_AUTOCONF= yes +GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-tcl-inc="${LOCALBASE}/include/tcl8.2" \ --with-tcl-libs="${LOCALBASE}/lib" \ + --with-tcl-lib-name=tcl82 \ --with-glut-libs="${X11BASE}/lib" \ --with-glut-inc="${X11BASE}/include" \ --with-data-dir=${PREFIX}/share/tuxracer diff --git a/games/tuxracer-commercial/files/patch-aa b/games/tuxracer-commercial/files/patch-aa deleted file mode 100644 index 69c5074a86fa..000000000000 --- a/games/tuxracer-commercial/files/patch-aa +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.in.orig Fri Jun 16 16:19:43 2000 -+++ configure.in Fri Jun 16 16:19:29 2000 -@@ -26,7 +26,7 @@ - AC_ARG_ENABLE(profile,[ --enable-profile Produce a profiled executable], TUXRACER_EXTRA_CFLAGS="$TUXRACER_EXTRA_CFLAGS -pg") - - dnl Tcl options --TCL_LIB_NAME=tcl -+TCL_LIB_NAME=tcl82 - - AC_ARG_WITH(tcl-libs, [ --with-tcl-libs=DIR Specify Tcl 8.0 library location],TCL_LIB_PATH="-L$withval") diff --git a/games/tuxracer-commercial/files/patch-configure b/games/tuxracer-commercial/files/patch-configure new file mode 100644 index 000000000000..1932f9caef48 --- /dev/null +++ b/games/tuxracer-commercial/files/patch-configure @@ -0,0 +1,38 @@ +--- 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 |