From 55bbac6cb2176a49258c2a4c7785ead2881211d3 Mon Sep 17 00:00:00 2001 From: krion Date: Thu, 25 Mar 2004 07:37:10 +0000 Subject: - Fix default options PR: ports/64673 Submitted by: maintainer --- ftp/frox/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'ftp') diff --git a/ftp/frox/Makefile b/ftp/frox/Makefile index 0515b54..f5be521 100644 --- a/ftp/frox/Makefile +++ b/ftp/frox/Makefile @@ -47,11 +47,16 @@ OPTIONS= IPFILTER "Use ipfilter instead of ipfw" off \ LOCAL_CACHE "Enable use of local cache" off \ CCP "Ftp-proxy style command control programs" on \ ROOT_RUN "Allow frox running as root (not recomended)" off -WITH_HTTP_CACHE?= yes -WITH_CCP?= yes - .include +# Set default options +.if !defined(WITHOUT_HTTP_CACHE) +WITH_HTTP_CACHE= yes +.endif +.if !defined(WITHOUT_CCP) +WITH_CCP= yes +.endif + .if defined(WITH_IPFILTER) CONFIGURE_ARGS+= --enable-ipfilter .endif -- cgit v1.1