summaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-25 07:37:10 +0000
committerkrion <krion@FreeBSD.org>2004-03-25 07:37:10 +0000
commit55bbac6cb2176a49258c2a4c7785ead2881211d3 (patch)
treed8ff95aa5907fc0c692988139dae7bd4cc13bb15 /ftp
parent88c6d43266a3eb51f227d6ed2b4dc3725cc2f9a6 (diff)
downloadFreeBSD-ports-55bbac6cb2176a49258c2a4c7785ead2881211d3.zip
FreeBSD-ports-55bbac6cb2176a49258c2a4c7785ead2881211d3.tar.gz
- Fix default options
PR: ports/64673 Submitted by: maintainer
Diffstat (limited to 'ftp')
-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