pkgsrc/finance/tclticker/patches/patch-aa
agc 452732ef40 We use a separate do-patch target to substitute for @PREFIX@ in the
tcl scripts, so we might as well put @PREFIX@ into the patches rather
than hardcoding "/usr/pkg" in them.
2001-11-14 11:55:16 +00:00

23 lines
700 B
Text

$NetBSD: patch-aa,v 1.2 2001/11/14 11:55:17 agc Exp $
--- tclticker.orig Mon Dec 20 15:27:02 1999
+++ tclticker Wed Aug 30 21:00:36 2000
@@ -1,6 +1,6 @@
#!/bin/sh
# restart using wish \
- exec wish8.0 "$0" ${1+"$@"}
+ exec wish "$0" ${1+"$@"}
# stock ticker
# copyright 1999 tom poindexter <tpoindex@nyx.net>
@@ -43,7 +43,9 @@
# authors grant the U.S. Government and others acting in its behalf
# permission to use and distribute the software in accordance with the
# terms specified in this license.
-
+
+# set this explicitly
+set env(TCLTICKER_LIB) "@PREFIX@/share/tclticker"
if {! [info exists env(TCLTICKER_LIB)]} {
lappend auto_path [file join [file dirname $argv0] lib]