View | Details | Raw Unified | Return to bug 116621
Collapse All | Expand All

(-)Makefile (+6 lines)
Lines 24-31 CONFIGURE_ARGS= --bindir=${PREFIX}/sbin Link Here
24
24
25
MAN8=		tinyproxy.8
25
MAN8=		tinyproxy.8
26
26
27
OPTIONS=	REVERSE "Enable reverse proxy support" Off
28
27
.include <bsd.port.pre.mk>
29
.include <bsd.port.pre.mk>
28
30
31
.if defined(WITH_REVERSE)
32
CONFIGURE_ARGS+=--enable-reverse
33
.endif
34
29
post-patch:
35
post-patch:
30
	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
36
	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
31
	@${REINPLACE_CMD} -e 's|/etc/tinyproxy/tinyproxy.conf|${PREFIX}/etc/tinyproxy.conf|' \
37
	@${REINPLACE_CMD} -e 's|/etc/tinyproxy/tinyproxy.conf|${PREFIX}/etc/tinyproxy.conf|' \

Return to bug 116621