diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2011-11-11 03:46:06 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2011-11-11 03:46:06 +0000 |
commit | 548a91dd223da2ff3626cee14137eb152301649d (patch) | |
tree | 5bedf8e45078438b9a2253b867ed23f417d3fa2a /www/tinyproxy | |
parent | 2eab57df9391a2542ad24e6c8a6081c8cac8fc5a (diff) |
Notes
Diffstat (limited to 'www/tinyproxy')
-rw-r--r-- | www/tinyproxy/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/www/tinyproxy/Makefile b/www/tinyproxy/Makefile index 8c8d338da29b..feefce012c0f 100644 --- a/www/tinyproxy/Makefile +++ b/www/tinyproxy/Makefile @@ -34,7 +34,8 @@ CONFIGURE_ARGS= --bindir=${PREFIX}/sbin \ MAN8= tinyproxy.8 MAN5= tinyproxy.conf.5 -OPTIONS= REVERSE "Enable reverse proxy support" Off \ +OPTIONS= XHEADER "Enable X-Tinyproxy header" Off \ + REVERSE "Enable reverse proxy support" Off \ TRANSPARENT "Enable transparent proxy support" Off .include <bsd.port.pre.mk> @@ -47,6 +48,10 @@ CONFIGURE_ARGS+= --enable-reverse CONFIGURE_ARGS+= --enable-transparent .endif +.if defined(WITHOUT_XHEADER) +CONFIGURE_ARGS+= --disable-xtinyproxy +.endif + post-patch: @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/etc/tinyproxy/tinyproxy.conf|${PREFIX}/etc/tinyproxy.conf|' \ |