diff 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
line wrap: on
line diff
--- a/uwsginl-plugin-lang-py3/Makefile	Sun Mar 10 00:13:59 2019 +0100
+++ b/uwsginl-plugin-lang-py3/Makefile	Sun Mar 10 04:49:35 2019 +0100
@@ -27,7 +27,7 @@
 
 PLIST_FILES=	${PLUGIN_DIR}/${PLUGIN_FILENAME}
 
-MAKE_ENV+=	UWSGI_PROFILE_OVERRIDE=plugin_build_dir=${STAGEDIR}${PREFIX}/${PLUGIN_DIR};plugin_dir=${PREFIX}/${PLUGIN_DIR} PYTHON=${PYTHON_CMD}
+MAKE_ENV+=	UWSGI_PROFILE_OVERRIDE="plugin_build_dir=${STAGEDIR}${PREFIX}/${PLUGIN_DIR};plugin_dir=${PREFIX}/${PLUGIN_DIR}" PYTHON=${PYTHON_CMD}
 
 UWSGI_NAME=	uwsginl
 UWSGI_PATH=	${LOCALBASE}/bin/${UWSGI_NAME}