Mercurial > packages > rhel6 > uwsgi
annotate uwsgi-do-not-install-plugins-into-plugin_dir.patch @ 5:e6b2af6272a4
Update to version 2.0
author | Guido Berhoerster <guido+packaging@berhoerster.name> |
---|---|
date | Wed, 08 Jan 2014 19:46:46 +0100 |
parents | 851739edafa6 |
children |
rev | line source |
---|---|
4
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
3
diff
changeset
|
1 Index: uwsgi-1.9.21.1/uwsgiconfig.py |
0
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
2 =================================================================== |
4
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
3
diff
changeset
|
3 --- uwsgi-1.9.21.1.orig/uwsgiconfig.py |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
3
diff
changeset
|
4 +++ uwsgi-1.9.21.1/uwsgiconfig.py |
851739edafa6
Update to version 1.9.21.1
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
3
diff
changeset
|
5 @@ -1278,10 +1278,7 @@ def build_plugin(path, uc, cflags, ldfla |
0
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 |