# HG changeset patch # User Franz Glasner # Date 1506282997 -7200 # Node ID 1342c5fc99605cafdfbe843de99636cb22c2814c # Parent 99e00e5a382310bc1019174470fa659154fac261 FIX: Honor PREFIX properly: as recommended in the porter's handbook test for required files with LOCALBASE and not PREFIX. Now the ports builds properly with an altered PREFIX: make clean; make PREFIX=/foo/bar package diff -r 99e00e5a3823 -r 1342c5fc9960 Makefile --- a/Makefile Sun Sep 24 17:56:29 2017 +0200 +++ b/Makefile Sun Sep 24 21:56:37 2017 +0200 @@ -30,7 +30,7 @@ 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= ${PREFIX}/bin/${UWSGI_NAME} +UWSGI_PATH= ${LOCALBASE}/bin/${UWSGI_NAME} PLUGIN_DIR= lib/${UWSGI_NAME}/plugins # The name of the plugin to be created (to eventually distingush py2 and py3)