summaryrefslogtreecommitdiff
path: root/www/zope3/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'www/zope3/patches/patch-aa')
-rw-r--r--www/zope3/patches/patch-aa19
1 files changed, 10 insertions, 9 deletions
diff --git a/www/zope3/patches/patch-aa b/www/zope3/patches/patch-aa
index a6f40057ff6..a71b2b0d76e 100644
--- a/www/zope3/patches/patch-aa
+++ b/www/zope3/patches/patch-aa
@@ -1,18 +1,19 @@
-$NetBSD: patch-aa,v 1.3 2006/05/06 22:38:28 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2006/10/01 14:25:23 taca Exp $
---- Dependencies/ZConfig-Zope-3.2.1/ZConfig/scripts/zconfig.orig 2006-04-28 09:02:23.000000000 +0900
-+++ Dependencies/ZConfig-Zope-3.2.1/ZConfig/scripts/zconfig
-@@ -40,2 +40,13 @@
- import sys
-+import os
-+
-+if __name__ == "__main__":
+--- Dependencies/zdaemon-Zope-3.3.0/zdaemon/zdctl.py.orig 2006-09-21 19:40:21.000000000 +0900
++++ Dependencies/zdaemon-Zope-3.3.0/zdaemon/zdctl.py
+@@ -58,6 +58,14 @@ if __name__ == "__main__":
+ scriptdir = dirname(normpath(abspath(sys.argv[0])))
+ if basename(scriptdir).lower() == "zdaemon":
+ sys.path.append(dirname(scriptdir))
+ here = os.path.dirname(os.path.realpath(__file__))
+ swhome = os.path.dirname(here)
+ for parts in [("src",), ("lib", "python"), ("Lib", "site-packages")]:
-+ d = os.path.join(swhome, *(parts + ("ZConfig",)))
++ d = os.path.join(swhome, *(parts + ("zdaemon",)))
+ if os.path.isdir(d):
+ d = os.path.join(swhome, *parts)
+ sys.path.insert(0, d)
+ break
+ from zdaemon.zdoptions import RunnerOptions
+