pkgsrc/finance/tclticker/patches/patch-ab
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

21 lines
628 B
Text

$NetBSD: patch-ab,v 1.2 2001/11/14 11:55:17 agc Exp $
--- mailquote.orig Mon Dec 20 15:10:24 1999
+++ mailquote Wed Aug 30 21:00:30 2000
@@ -1,6 +1,6 @@
#!/bin/sh
# restart using wish \
- exec tclsh8.0 "$0" ${1+"$@"}
+ exec tclsh "$0" ${1+"$@"}
# mailquote
# copyright 1999 tom poindexter <tpoindex@nyx.net>
@@ -46,6 +46,9 @@
# 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]