Mercurial > packages > rhel6 > uwsgi
annotate uwsgi-do-not-install-plugins-into-plugin_dir.patch @ 1:1697a2bdcf59
Add .hgignore file
author | Guido Berhoerster <guido+packaging@berhoerster.name> |
---|---|
date | Sat, 27 Jul 2013 13:45:35 +0200 |
parents | 9668c317e887 |
children | 6f2f488ec30d |
rev | line source |
---|---|
0
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
1 Index: uwsgi-1.9.13/uwsgiconfig.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
2 =================================================================== |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
3 --- uwsgi-1.9.13.orig/uwsgiconfig.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
4 +++ uwsgi-1.9.13/uwsgiconfig.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
5 @@ -1170,10 +1170,7 @@ def build_plugin(path, uc, cflags, ldfla |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
6 except: |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
7 pass |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
8 |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
9 - if uc: |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
10 - plugin_dest = uc.get('plugin_dir') + '/' + name + '_plugin' |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
11 - else: |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
12 - plugin_dest = name + '_plugin' |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
13 + plugin_dest = name + '_plugin' |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
14 |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
15 shared_flag = '-shared' |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
16 |