summaryrefslogtreecommitdiff
path: root/devel/cbrowser/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-11-14 11:27:03 +0000
committeragc <agc@pkgsrc.org>2001-11-14 11:27:03 +0000
commitb1118bd2fd5ccfcfb4b5a65857b2c3072f9f6bba (patch)
treeed6e23389913cff329653ca7540ce6acc794bbc8 /devel/cbrowser/patches
parent47bada094e1b58d717fa1e956eaf36d5d7c75c14 (diff)
downloadpkgsrc-b1118bd2fd5ccfcfb4b5a65857b2c3072f9f6bba.tar.gz
Initial import of cbrowser-0.6 into the NetBSD Packages Collection.
Cbrowser helps manage the recursive process of searching through source code for usages by providing a history mechanism. Every query is recorded and can be recalled at any time, without the need of re-querying the database. Cbrowser allows you to build and use multiple source code databases for individual software projects. Switching databases is as simple as selecting the file, and a history of all databases used is kept at all times. Best of all, cbrowser provides a hierarchical function viewer. Functions may be expanded and contracted to show or hide the functions they call. The function's code itself is shown in an adjoining viewer. This feature is implemented using the megawidget Library by Jeff Hobbs.
Diffstat (limited to 'devel/cbrowser/patches')
-rw-r--r--devel/cbrowser/patches/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/cbrowser/patches/patch-aa b/devel/cbrowser/patches/patch-aa
new file mode 100644
index 00000000000..86eff865ab2
--- /dev/null
+++ b/devel/cbrowser/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/11/14 11:27:03 agc Exp $
+
+Set up cbrowser so that it can find its subsidiary tcl files
+
+--- cbrowser 2001/11/14 11:06:30 1.1
++++ cbrowser 2001/11/14 11:07:59
+@@ -3594,6 +3594,12 @@
+ }
+ set button_defaults [expr [info tclversion] >= 8.0]
+
++set env(CBROWSER_LIB) "@PREFIX@/share/cbrowser"
++
++if {[info exists env(CBROWSER_LIB)]} {
++ lappend auto_path $env(CBROWSER_LIB)
++}
++
+ # Setup some aliases for those pesky string commands
+ interp alias {} strcmp {} string compare
+ interp alias {} strlen {} string length