summaryrefslogtreecommitdiffstats
path: root/ftp/frox/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/frox/Makefile')
-rw-r--r--ftp/frox/Makefile11
1 files changed, 8 insertions, 3 deletions
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 <bsd.port.pre.mk>
+# 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
OpenPOWER on IntegriCloud