Mercurial > hgrepos > FreeBSD > ports > www > uwsginl
comparison Makefile @ 28:1342c5fc9960
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
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Sun, 24 Sep 2017 21:56:37 +0200 |
| parents | 99e00e5a3823 |
| children | 3ee3540aa2b0 |
comparison
equal
deleted
inserted
replaced
| 27:99e00e5a3823 | 28:1342c5fc9960 |
|---|---|
| 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= ${PREFIX}/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 |
| 36 # The name of the plugin to be created (to eventually distingush py2 and py3) | 36 # The name of the plugin to be created (to eventually distingush py2 and py3) |
| 37 PLUGIN_NAME?= python3 | 37 PLUGIN_NAME?= python3 |
| 38 # Where to find the sources for the plugin (defaults to plugins/${PLUGIN_NAME}) | 38 # Where to find the sources for the plugin (defaults to plugins/${PLUGIN_NAME}) |
