summaryrefslogtreecommitdiff
path: root/www/py-graphite-web/files/patch-conf__graphite.wsgi.example
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-02-18 15:48:34 +0000
committerSteve Wills <swills@FreeBSD.org>2014-02-18 15:48:34 +0000
commite8c000e06fb013b0606098c247ee42c88ae04b90 (patch)
tree4f9e132d1361030534635e27a3f7503e463b7ca8 /www/py-graphite-web/files/patch-conf__graphite.wsgi.example
parent- Convert to USES=tk desktop-file-utils (diff)
- Fix with newer Django [1] [2]
- Lots of other cleanups and improvements, including moving the data to a more standard location - Take maintainership, maintainer has not responded to PRs in many months PR: ports/184969 [1] PR: ports/185146 [2] Submitted by: brd [1] Submitted by: swills (myself) [2] Approved by: maintainer timeout (bsdports@wayfair.com, >3 months)
Diffstat (limited to 'www/py-graphite-web/files/patch-conf__graphite.wsgi.example')
-rw-r--r--www/py-graphite-web/files/patch-conf__graphite.wsgi.example9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/py-graphite-web/files/patch-conf__graphite.wsgi.example b/www/py-graphite-web/files/patch-conf__graphite.wsgi.example
new file mode 100644
index 000000000000..6bcac678d6ae
--- /dev/null
+++ b/www/py-graphite-web/files/patch-conf__graphite.wsgi.example
@@ -0,0 +1,9 @@
+--- ./conf/graphite.wsgi.example.orig 2013-08-21 17:11:04.000000000 +0000
++++ ./conf/graphite.wsgi.example 2014-02-12 20:50:27.343398788 +0000
+@@ -1,5 +1,5 @@
+ import os, sys
+-sys.path.append('/opt/graphite/webapp')
++sys.path.append('%%PREFIX%%/graphite/webapp')
+ os.environ['DJANGO_SETTINGS_MODULE'] = 'graphite.settings'
+
+ import django.core.handlers.wsgi