summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorminskim <minskim>2004-06-02 16:45:58 +0000
committerminskim <minskim>2004-06-02 16:45:58 +0000
commit9c1659358639de15ce5031236d180edbe85426e0 (patch)
tree544cf6ae9aa791ec9ecc8c1cd42a9164fd1bc84d /games
parent85d40c78004df3eefe7ce8c6ea976913e8860912 (diff)
downloadpkgsrc-9c1659358639de15ce5031236d180edbe85426e0.tar.gz
Make this package build with thread-enabled Tcl.
Diffstat (limited to 'games')
-rw-r--r--games/tuxracer/Makefile3
-rw-r--r--games/tuxracer/distinfo3
-rw-r--r--games/tuxracer/patches/patch-ab18
3 files changed, 22 insertions, 2 deletions
diff --git a/games/tuxracer/Makefile b/games/tuxracer/Makefile
index 4e67171460f..7d9f6ba0687 100644
--- a/games/tuxracer/Makefile
+++ b/games/tuxracer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/04/12 02:08:05 minskim Exp $
+# $NetBSD: Makefile,v 1.14 2004/06/02 16:45:58 minskim Exp $
#
DISTNAME= tuxracer-0.61
@@ -19,6 +19,7 @@ GNU_CONFIGURE= YES
CFLAGS+= -DGLX_GLXEXT_PROTOTYPES
CONFIGURE_ARGS+= --with-data-dir=${PREFIX}/share/tuxracer
+CONFIGURE_ARGS+= --with-tcl-libs=${BUILDLINK_PREFIX.tcl}/lib
CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
post-install:
diff --git a/games/tuxracer/distinfo b/games/tuxracer/distinfo
index 6e745432605..336201d95d0 100644
--- a/games/tuxracer/distinfo
+++ b/games/tuxracer/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2004/04/11 23:16:27 snj Exp $
+$NetBSD: distinfo,v 1.3 2004/06/02 16:45:58 minskim Exp $
SHA1 (tuxracer-0.61.tar.gz) = e1b98209f99400cd6aa660f6c1c8bd2ab17d5cea
Size (tuxracer-0.61.tar.gz) = 636628 bytes
SHA1 (tuxracer-data-0.61.tar.gz) = f8476530106bfc343e9196e2a8285b5a57f75d65
Size (tuxracer-data-0.61.tar.gz) = 7402317 bytes
SHA1 (patch-aa) = 834c16cb60690a2b3199dbe10e3350f67860e924
+SHA1 (patch-ab) = 907c072d787221c1fa8b9135034b5751361895d5
diff --git a/games/tuxracer/patches/patch-ab b/games/tuxracer/patches/patch-ab
new file mode 100644
index 00000000000..90d403e6e43
--- /dev/null
+++ b/games/tuxracer/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1 2004/06/02 16:45:58 minskim Exp $
+
+--- configure.orig 2004-06-02 11:33:45.000000000 -0500
++++ configure
+@@ -2841,11 +2841,12 @@ tcl
+ EOF
+ `
+
++ . $with_tcl_libs/tclConfig.sh
+ for TCL_LIB_NAME in $TCL_LIB_LIST ; do
+
+ echo $ac_n "checking for $TCL_LIB_NAME library""... $ac_c" 1>&6
+ echo "configure:2848: checking for $TCL_LIB_NAME library" >&5
+- LIBS="$saved_LIBS $TR_LIBS $TCL_LDOPTS -l$TCL_LIB_NAME"
++ LIBS="$saved_LIBS $TR_LIBS $TCL_LDOPTS -l$TCL_LIB_NAME $TCL_LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 2851 "configure"
+ #include "confdefs.h"