svn commit: r457125 - in head/www/uwsgi: . files
Tobias Kortkamp
tobik at FreeBSD.org
Sun Dec 24 06:46:50 UTC 2017
Author: tobik
Date: Sun Dec 24 06:46:48 2017
New Revision: 457125
URL: https://svnweb.freebsd.org/changeset/ports/457125
Log:
www/uwsgi: Fix rc.d script when using the uwsgi-py3* packages
PR: 224198
Submitted by: Christian Sturm <reezer at reezer.org>
Approved by: eugene at zhegan.in (maintainer timeout, 2 weeks)
Modified:
head/www/uwsgi/Makefile
head/www/uwsgi/files/uwsgi.in
Modified: head/www/uwsgi/Makefile
==============================================================================
--- head/www/uwsgi/Makefile Sun Dec 24 04:26:17 2017 (r457124)
+++ head/www/uwsgi/Makefile Sun Dec 24 06:46:48 2017 (r457125)
@@ -3,7 +3,7 @@
PORTNAME= uwsgi
PORTVERSION= 2.0.15
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= http://projects.unbit.it/downloads/
@@ -29,7 +29,9 @@ USERS= uwsgi
GROUPS= uwsgi
PLIST_FILES= bin/uwsgi \
- %%PYTHON_SITELIBDIR%%/uwsgidecorators.py
+ ${PYTHON_SITELIBDIR}/uwsgidecorators.py
+
+SUB_LIST= PYTHON_VER=${PYTHON_VER}
OPTIONS_DEFINE= DEBUG JSON PCRE XML
Modified: head/www/uwsgi/files/uwsgi.in
==============================================================================
--- head/www/uwsgi/files/uwsgi.in Sun Dec 24 04:26:17 2017 (r457124)
+++ head/www/uwsgi/files/uwsgi.in Sun Dec 24 06:46:48 2017 (r457125)
@@ -51,7 +51,7 @@ rcvar=uwsgi_enable
load_rc_config $name
-command=%%PREFIX%%/bin/uwsgi
+command=%%PREFIX%%/bin/uwsgi-%%PYTHON_VER%%
: ${uwsgi_enable="NO"}
: ${uwsgi_socket="/tmp/${name}.sock"}
More information about the svn-ports-all
mailing list