pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

syncserver-dependencies: add nginx option and make it default



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Thu Aug 13 10:15:14 2020 +0200
Changeset:	a6df6a2619f25f9e9551eb0c1e88a20a221f4ac2

Modified Files:
	syncserver-dependencies/options.mk

Log Message:
syncserver-dependencies: add nginx option and make it default

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a6df6a2619f25f9e9551eb0c1e88a20a221f4ac2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 syncserver-dependencies/options.mk | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diffs:
diff --git a/syncserver-dependencies/options.mk b/syncserver-dependencies/options.mk
index 8485b395d8..0d95a432c8 100644
--- a/syncserver-dependencies/options.mk
+++ b/syncserver-dependencies/options.mk
@@ -1,8 +1,8 @@
 # $NetBSD: options.mk,v 1.2 2015/01/25 20:05:54 thomasklausner Exp $
 
 PKG_OPTIONS_VAR=	PKG_OPTIONS.sync-server-dependencies
-PKG_SUPPORTED_OPTIONS=	apache
-PKG_SUGGESTED_OPTIONS=	apache
+PKG_SUPPORTED_OPTIONS=	apache nginx
+PKG_SUGGESTED_OPTIONS=	nginx
 
 .include "../../mk/bsd.options.mk"
 
@@ -10,3 +10,8 @@ PKG_SUGGESTED_OPTIONS=	apache
 DEPENDS+=	${PYPKGPREFIX}-${APACHE_PKG_PREFIX}-mod_wsgi-[0-9]*:../../www/py-mod_wsgi
 .include "../../mk/apache.mk"
 .endif
+
+.if !empty(PKG_OPTIONS:Mnginx)
+DEPENDS+=	nginx-[0-9]*:../../www/nginx
+DEPENDS+=	${PYPKGPREFIX}-gunicorn-[0-9]*:../../www/py-gunicorn
+.endif


Home | Main Index | Thread Index | Old Index