From d1aec19dcb5004d1dd513816948561b0f447a425 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Thu, 28 Jun 2007 15:21:12 +0000 Subject: Knobs management: i) remove absolete WITH_IMAP_MODULE. ii) add new one WITH_ADDITION_MODULE (*). Do not bump PORTREVISION. Requested by: dwl aka dwl at dewil dot ru (*) --- www/nginx-devel/Makefile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'www/nginx-devel') diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index b812fd0b28ed..70198863de39 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -54,7 +54,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 @@ -83,14 +87,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 v1.2.3