diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/cgiwrap/Makefile | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/www/cgiwrap/Makefile b/www/cgiwrap/Makefile index c38799fd4ff9..ae3fb05b8e38 100644 --- a/www/cgiwrap/Makefile +++ b/www/cgiwrap/Makefile @@ -55,18 +55,6 @@ USER_CGIDIR?= public_html/cgi-bin ALLOW_FILE?= ${PREFIX}/etc/${PORTNAME}.allow DENY_FILE?= ${PREFIX}/etc/${PORTNAME}.deny -## -# LOG_FILE -# -# Enables cgiwrap logging (when a user called cgiwrap, its arguments, -# and who ran it). Specify the full path to the logfile. -# -.if defined(LOG_FILE) -CONFIGURE_ARGS+= --with-logging-file=${LOG_FILE} -.else -CONFIGURE_ARGS+= --without-logging-file -.endif - GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-httpd-user=${WWWOWN} \ --with-install-group=${WWWGRP} \ @@ -78,6 +66,17 @@ CONFIGURE_ARGS= --with-httpd-user=${WWWOWN} \ .include <bsd.port.pre.mk> +## +# LOG_FILE +# +# Enables cgiwrap logging (when a user called cgiwrap, its arguments, +# and who ran it). Specify the full path to the logfile. +# +.if defined(LOG_FILE) +CONFIGURE_ARGS+= --with-logging-file=${LOG_FILE} +.else +CONFIGURE_ARGS+= --without-logging-file +.endif .if !defined(WITH_CGI_OWNER) CONFIGURE_ARGS+= --without-check-owner .endif |