aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2009-05-17 23:11:22 +0800
committerdhn <dhn@FreeBSD.org>2009-05-17 23:11:22 +0800
commit129ef7206d131ac156ab7a1b4a6c8af011be1fe1 (patch)
tree7236e1824d6b04a6d8075b24c54a2b957f880560
parent4380801f4ac1c02505152dfba3c0c9c50ead7aba (diff)
downloadfreebsd-ports-gnome-129ef7206d131ac156ab7a1b4a6c8af011be1fe1.tar.gz
freebsd-ports-gnome-129ef7206d131ac156ab7a1b4a6c8af011be1fe1.tar.zst
freebsd-ports-gnome-129ef7206d131ac156ab7a1b4a6c8af011be1fe1.zip
- Fix build with lang/tcl85
- Bump PORTREVISION PR: ports/134076 Submitted by: fusselbaer <e-ports@gmx.de> Approved by: miwi (mentor implicit)
-rw-r--r--games/etuxracer/Makefile6
-rw-r--r--games/etuxracer/files/patch-configure.in42
-rw-r--r--games/tuxracer/Makefile6
-rw-r--r--games/tuxracer/files/patch-configure.in42
4 files changed, 80 insertions, 16 deletions
diff --git a/games/etuxracer/Makefile b/games/etuxracer/Makefile
index cfdb7607e795..4ea99ae7a5c5 100644
--- a/games/etuxracer/Makefile
+++ b/games/etuxracer/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tuxracer
PORTVERSION= 0.61
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= SF/tuxracer
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
@@ -16,7 +16,7 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
MAINTAINER= ports@FreeBSD.org
COMMENT= A 3d penguin racing game using OpenGL
-LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83
+LIB_DEPENDS= tcl85:${PORTSDIR}/lang/tcl85
USE_SDL= mixer sdl
USE_GL= gl
@@ -26,7 +26,7 @@ USE_AUTOTOOLS= automake:14 autoconf:262
AUTOMAKE_ARGS= -a
CONFIGURE_ENV= THREAD_LIB="${PTHREAD_LIBS}"
MAKE_ENV= ${CONFIGURE_ENV}
-CONFIGURE_ARGS= --with-tcl-inc="${LOCALBASE}/include/tcl8.3" \
+CONFIGURE_ARGS= --with-tcl-inc="${LOCALBASE}/include/tcl8.5" \
--with-tcl-libs="${LOCALBASE}/lib" \
--with-gl-libs="${LOCALBASE}/lib" \
--with-gl-inc="${LOCALBASE}/include" \
diff --git a/games/etuxracer/files/patch-configure.in b/games/etuxracer/files/patch-configure.in
index fba860800b10..caf2953a8959 100644
--- a/games/etuxracer/files/patch-configure.in
+++ b/games/etuxracer/files/patch-configure.in
@@ -1,5 +1,5 @@
---- configure.in.orig Tue Jan 16 07:26:29 2001
-+++ configure.in Thu Jul 4 00:47:06 2002
+--- configure.in.orig 2001-01-16 16:26:29.000000000 +0100
++++ configure.in 2009-04-27 03:06:12.000000000 +0200
@@ -43,16 +43,10 @@
dnl General options
dnl --------------------------------------------------------------------------
@@ -19,7 +19,39 @@
AC_ARG_ENABLE(debug, [ --enable-debug Produce an executable with debugging symbols],
[TR_CFLAGS="-g -Wall"; TR_CXXFLAGS="-g -Wall"],
[TR_CPPFLAGS="$TR_CPPFLAGS -DTUXRACER_NO_ASSERT=1"])
-@@ -303,6 +297,10 @@
+@@ -137,6 +131,10 @@
+ if test "x$have_tcl_lib" = "xno" -a "x$with_tcl_lib_name" = "x" ; then
+
+ TCL_LIB_LIST=`grep -v -E "^$TCL_LIB_NAME\$" <<EOF
++tcl8.5
++tcl85
++tcl8.4
++tcl84
+ tcl8.3
+ tcl83
+ tcl8.2
+@@ -191,6 +189,10 @@
+
+ TCL_HEADER_LIST=`grep -v -E "^$TCL_HEADER\$" <<EOF
+ tcl.h
++tcl8.5.h
++tcl85.h
++tcl8.4.h
++tcl84.h
+ tcl8.3.h
+ tcl83.h
+ tcl8.2.h
+@@ -219,7 +221,8 @@
+ FIND_TCL_H
+
+ if test "x$have_tcl_h" = "xno" -a "x$with_tcl_inc" = "x"; then
+- TCL_INC_LIST="/usr/include/tcl8.3 /usr/include/tcl8.2 \
++ TCL_INC_LIST="/usr/include/tcl8.5 /usr/include/tcl8.4 \
++ /usr/include/tcl8.3 /usr/include/tcl8.2 \
+ /usr/include/tcl8.0 /usr/include/tcl"
+
+ for TCL_INC in $TCL_INC_LIST ; do
+@@ -303,6 +306,10 @@
saved_LIBS="$LIBS"
@@ -30,7 +62,7 @@
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 +311,15 @@
+@@ -313,15 +320,15 @@
TR_LIBS="$TR_LIBS $GL_LDOPTS -l$GL_LIB_NAME"
else
@@ -49,7 +81,7 @@
fi
fi
])
-@@ -466,7 +464,7 @@
+@@ -466,7 +473,7 @@
if test "x$have_glx_h" = "xno" ; then
AC_MSG_ERROR([Cannot find GL/glx.h])
fi
diff --git a/games/tuxracer/Makefile b/games/tuxracer/Makefile
index cfdb7607e795..4ea99ae7a5c5 100644
--- a/games/tuxracer/Makefile
+++ b/games/tuxracer/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tuxracer
PORTVERSION= 0.61
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= SF/tuxracer
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
@@ -16,7 +16,7 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
MAINTAINER= ports@FreeBSD.org
COMMENT= A 3d penguin racing game using OpenGL
-LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83
+LIB_DEPENDS= tcl85:${PORTSDIR}/lang/tcl85
USE_SDL= mixer sdl
USE_GL= gl
@@ -26,7 +26,7 @@ USE_AUTOTOOLS= automake:14 autoconf:262
AUTOMAKE_ARGS= -a
CONFIGURE_ENV= THREAD_LIB="${PTHREAD_LIBS}"
MAKE_ENV= ${CONFIGURE_ENV}
-CONFIGURE_ARGS= --with-tcl-inc="${LOCALBASE}/include/tcl8.3" \
+CONFIGURE_ARGS= --with-tcl-inc="${LOCALBASE}/include/tcl8.5" \
--with-tcl-libs="${LOCALBASE}/lib" \
--with-gl-libs="${LOCALBASE}/lib" \
--with-gl-inc="${LOCALBASE}/include" \
diff --git a/games/tuxracer/files/patch-configure.in b/games/tuxracer/files/patch-configure.in
index fba860800b10..caf2953a8959 100644
--- a/games/tuxracer/files/patch-configure.in
+++ b/games/tuxracer/files/patch-configure.in
@@ -1,5 +1,5 @@
---- configure.in.orig Tue Jan 16 07:26:29 2001
-+++ configure.in Thu Jul 4 00:47:06 2002
+--- configure.in.orig 2001-01-16 16:26:29.000000000 +0100
++++ configure.in 2009-04-27 03:06:12.000000000 +0200
@@ -43,16 +43,10 @@
dnl General options
dnl --------------------------------------------------------------------------
@@ -19,7 +19,39 @@
AC_ARG_ENABLE(debug, [ --enable-debug Produce an executable with debugging symbols],
[TR_CFLAGS="-g -Wall"; TR_CXXFLAGS="-g -Wall"],
[TR_CPPFLAGS="$TR_CPPFLAGS -DTUXRACER_NO_ASSERT=1"])
-@@ -303,6 +297,10 @@
+@@ -137,6 +131,10 @@
+ if test "x$have_tcl_lib" = "xno" -a "x$with_tcl_lib_name" = "x" ; then
+
+ TCL_LIB_LIST=`grep -v -E "^$TCL_LIB_NAME\$" <<EOF
++tcl8.5
++tcl85
++tcl8.4
++tcl84
+ tcl8.3
+ tcl83
+ tcl8.2
+@@ -191,6 +189,10 @@
+
+ TCL_HEADER_LIST=`grep -v -E "^$TCL_HEADER\$" <<EOF
+ tcl.h
++tcl8.5.h
++tcl85.h
++tcl8.4.h
++tcl84.h
+ tcl8.3.h
+ tcl83.h
+ tcl8.2.h
+@@ -219,7 +221,8 @@
+ FIND_TCL_H
+
+ if test "x$have_tcl_h" = "xno" -a "x$with_tcl_inc" = "x"; then
+- TCL_INC_LIST="/usr/include/tcl8.3 /usr/include/tcl8.2 \
++ TCL_INC_LIST="/usr/include/tcl8.5 /usr/include/tcl8.4 \
++ /usr/include/tcl8.3 /usr/include/tcl8.2 \
+ /usr/include/tcl8.0 /usr/include/tcl"
+
+ for TCL_INC in $TCL_INC_LIST ; do
+@@ -303,6 +306,10 @@
saved_LIBS="$LIBS"
@@ -30,7 +62,7 @@
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 +311,15 @@
+@@ -313,15 +320,15 @@
TR_LIBS="$TR_LIBS $GL_LDOPTS -l$GL_LIB_NAME"
else
@@ -49,7 +81,7 @@
fi
fi
])
-@@ -466,7 +464,7 @@
+@@ -466,7 +473,7 @@
if test "x$have_glx_h" = "xno" ; then
AC_MSG_ERROR([Cannot find GL/glx.h])
fi