Skip to content

Commit

Permalink
Make this package build with thread-enabled Tcl.
Browse files Browse the repository at this point in the history
  • Loading branch information
minskim committed Jun 2, 2004
1 parent e5d8e59 commit f189bb4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
3 changes: 2 additions & 1 deletion 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
Expand All @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion 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
18 changes: 18 additions & 0 deletions 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"

0 comments on commit f189bb4

Please sign in to comment.