add heap FLAVOR, enables alternate cache object replacement algorithms.

--
Requested by: J Shoemaker <shoemaker@softhome.net>
This commit is contained in:
brad 2001-01-17 02:38:20 +00:00
parent f8f043bafe
commit 0247146330

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.28 2000/12/08 17:09:52 brad Exp $
# $OpenBSD: Makefile,v 1.29 2001/01/17 02:38:20 brad Exp $
DISTNAME= squid-2.3.STABLE4
PKGNAME= squid-2.3
@ -33,13 +33,17 @@ SUBST_VARS= STATEDIR
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --localstatedir="${STATEDIR}"
FLAVORS= transparent
FLAVORS= transparent heap
FLAVOR?=
.if ${FLAVOR:L:Mtransparent}
CONFIGURE_ARGS+= --enable-ipf-transparent
.endif
.if ${FLAVOR:L:Mheap}
CONFIGURE_ARGS+= --enable-heap-replacement
.endif
MAKE_FILE= makefile
.include <bsd.port.mk>