From 0beb18ef3ea37276de0daa084c899ec82ab3a86d Mon Sep 17 00:00:00 2001 From: osa Date: Thu, 28 Jun 2007 15:18:57 +0000 Subject: Knobs management: i) remove absolete WITH_IMAP_MODULE. ii) new one WITH_ADDITION_MODULE (*). Do not bump PORTREVISION. Requested by: dwl aka dwl at dewil dot ru (*) --- www/nginx/Makefile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'www/nginx') diff --git a/www/nginx/Makefile b/www/nginx/Makefile index de7ba32cdc59..438a732514b5 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -53,7 +53,11 @@ NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-http_ssl_module .endif -.if defined(WITH_MAIL_MODULE) || defined(WITH_IMAP_MODULE) +.if defined(WITH_ADDITION_MODULE) +CONFIGURE_ARGS+=--with-http_addition_module +.endif + +.if defined(WITH_MAIL_MODULE) NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-mail --with-mail_ssl_module .endif @@ -82,14 +86,6 @@ PLIST_SUB+= WWWDATA="" PLIST_SUB+= NGINX_TMPDIR=${NGINX_TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} -pre-fetch: -.if defined(WITH_IMAP_MODULE) - @${ECHO_MSG} - @${ECHO_MSG} WITH_IMAP_MODULE knob deprecated. - @${ECHO_MSG} Please use WITH_MAIL_MODULE knob instead. - @${ECHO_MSG} -.endif - post-patch: @${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \ s!%%PREFIX%%!${PREFIX}!' \ -- cgit