|
|
|
@ -82,3 +82,16 @@ fi
|
|
|
|
|
|
|
|
|
|
var_append CC_WRAPPER_REMOVE " " "-Werror" |
|
|
|
|
|
|
|
|
|
# wsgi support - should be made a config option |
|
|
|
|
if pkginstalled python; then |
|
|
|
|
wsgi_extract() { |
|
|
|
|
local file=$(match_source_file -p wsgi) |
|
|
|
|
cd "$builddir" |
|
|
|
|
tar -v $taropt "$file" |
|
|
|
|
ln -sv mod_wsgi-* mod_wsgi |
|
|
|
|
cd - > /dev/null |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var_append confopt ' ' '--add-module=../mod_wsgi' |
|
|
|
|
hook_add prepatch 5 'wsgi_extract' |
|
|
|
|
fi |
|
|
|
|