summaryrefslogtreecommitdiff
path: root/games/tuxracer
diff options
context:
space:
mode:
authorminskim <minskim>2004-06-02 16:45:58 +0000
committerminskim <minskim>2004-06-02 16:45:58 +0000
commit0e46b1d18b4f9d153d7d8a9c2a68d9921451b8ff (patch)
tree544cf6ae9aa791ec9ecc8c1cd42a9164fd1bc84d /games/tuxracer
parent7c37e4fd58944c35f88c796c5dd73bb39fdd6010 (diff)
downloadpkgsrc-0e46b1d18b4f9d153d7d8a9c2a68d9921451b8ff.tar.gz
Make this package build with thread-enabled Tcl.
Diffstat (limited to 'games/tuxracer')
-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"