summaryrefslogtreecommitdiff
path: root/www/tclhttpd/files/patch-ah
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2000-07-20 11:55:59 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2000-07-20 11:55:59 +0000
commit57dc4074781928326a3104161fddcc5f4ad4be3d (patch)
treecf969785f780c3d8681059a202fc23886d530d44 /www/tclhttpd/files/patch-ah
parentPrevent attempting to build with Python support if Python just happens to (diff)
Add tclhttpd, a pure-Tcl implementation of a HTTP server.
PR: ports/19870 Submitted by: Mikhail Teterin <mi@privatelabs.com>
Notes
Notes: svn path=/head/; revision=30920
Diffstat (limited to 'www/tclhttpd/files/patch-ah')
-rw-r--r--www/tclhttpd/files/patch-ah26
1 files changed, 26 insertions, 0 deletions
diff --git a/www/tclhttpd/files/patch-ah b/www/tclhttpd/files/patch-ah
new file mode 100644
index 000000000000..2c2d15c2cc56
--- /dev/null
+++ b/www/tclhttpd/files/patch-ah
@@ -0,0 +1,26 @@
+This is needed, because of the way tcllib's pkgIndex.tcl is laid
+out. The _children_ of the directory containing tcllib itself are
+not searched for packages the first time. So
+ ``package require <some sub package>''
+will fail the first time :(. This is, probably, a bug in tcllib,
+but this is a workaround.
++++ htdocs/cgi-bin/flip.cgi Fri May 5 11:34:19 2000
+@@ -5,4 +5,3 @@
+ if {[catch {
+- package require ncgi
+- package require html
++ package require tcllib
+
++++ htdocs/cgi-bin/redirect.cgi Fri May 5 11:34:31 2000
+@@ -5,3 +5,3 @@
+ if {[catch {
+- package require ncgi
++ package require tcllib
+
++++ htdocs/cgi-bin/test.cgi Fri May 5 11:34:47 2000
+@@ -5,4 +5,3 @@
+ if {[catch {
+- package require ncgi
+- package require html
++ package require tcllib
+