- Add an optional dependency on uWSGI
PR: ports/146867 Submitted by: Daniel Gerzo <danger@freebsd.org> Approved by: maintainer
This commit is contained in:
parent
94acfc3d4e
commit
912e5e3cb7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=256167
1 changed files with 7 additions and 2 deletions
|
@ -74,8 +74,9 @@ OPTIONS= WWWUSER "Run as www:www user" on \
|
|||
FFMPEG "FFMpeg Support" off \
|
||||
NLS "NLS Support" on \
|
||||
INTPCRE "Use Internal PCRE Library" off \
|
||||
ADMIN "Build the Admin Interface" on \
|
||||
RRDTOOL "Usage Graphs Support" off
|
||||
ADMIN "Build the Admin Interface" on \
|
||||
RRDTOOL "Usage Graphs Support" off \
|
||||
UWSGI "uWSGI Support" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
@ -150,6 +151,10 @@ LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
|||
RUN_DEPENDS+= rrdtool:${PORTSDIR}/databases/rrdtool
|
||||
.endif
|
||||
|
||||
.ifdef WITH_UWSGI
|
||||
RUN_DEPENDS+= uwsgi:${PORTSDIR}/www/uwsgi
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
|
||||
${REINPLACE_CMD} -e 's|@mkdir_p@|${MKDIR} --|g'
|
||||
|
|
Loading…
Reference in a new issue