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, 0 insertions, 19 deletions
diff --git a/www/zope3/patches/patch-aa b/www/zope3/patches/patch-aa
deleted file mode 100644
index 0489f042742..00000000000
--- a/www/zope3/patches/patch-aa
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2007/02/20 17:30:18 he Exp $
-
---- Dependencies/zdaemon-Zope-3.3.1/zdaemon/zdctl.py.orig 2006-09-21 19:40:21.000000000 +0900
-+++ Dependencies/zdaemon-Zope-3.3.1/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 + ("zdaemon",)))
-+ if os.path.isdir(d):
-+ d = os.path.join(swhome, *parts)
-+ sys.path.insert(0, d)
-+ break
-
- from zdaemon.zdoptions import RunnerOptions
-