comparison uwsginl-plugin-lang-py3/Makefile @ 54:5aedaf1eb939

Do not dynamically patch the build profile base "base.ini"; use the official WSGI_PROFILE_OVERRIDE mechanism instead. This makes the build more robust with regard to later versions and can easily be adjusted to configure all other values also. NOTE: The UWSGI_PROFILE_OVERRIDE needs quoted values. Otherwise they are missed by the SETENV/FAKEROOT chain.
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 10 Mar 2019 04:49:35 +0100
parents 7e7b576aa608
children 21b29894c66b
comparison
equal deleted inserted replaced
53:3b6e789833d4 54:5aedaf1eb939
25 # Some python version is needed when building 25 # Some python version is needed when building
26 USES+= python:build pkgconfig 26 USES+= python:build pkgconfig
27 27
28 PLIST_FILES= ${PLUGIN_DIR}/${PLUGIN_FILENAME} 28 PLIST_FILES= ${PLUGIN_DIR}/${PLUGIN_FILENAME}
29 29
30 MAKE_ENV+= UWSGI_PROFILE_OVERRIDE=plugin_build_dir=${STAGEDIR}${PREFIX}/${PLUGIN_DIR};plugin_dir=${PREFIX}/${PLUGIN_DIR} PYTHON=${PYTHON_CMD} 30 MAKE_ENV+= UWSGI_PROFILE_OVERRIDE="plugin_build_dir=${STAGEDIR}${PREFIX}/${PLUGIN_DIR};plugin_dir=${PREFIX}/${PLUGIN_DIR}" PYTHON=${PYTHON_CMD}
31 31
32 UWSGI_NAME= uwsginl 32 UWSGI_NAME= uwsginl
33 UWSGI_PATH= ${LOCALBASE}/bin/${UWSGI_NAME} 33 UWSGI_PATH= ${LOCALBASE}/bin/${UWSGI_NAME}
34 PLUGIN_DIR= lib/${UWSGI_NAME}/plugins 34 PLUGIN_DIR= lib/${UWSGI_NAME}/plugins
35 35