privoxy uses C99 constructs so base-gcc needs to be told that.

Fixes the build for sparc64
This commit is contained in:
kmos 2021-01-15 17:26:04 +00:00
parent c070bf7355
commit 3b701f05f1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.38 2020/11/29 19:08:14 sthen Exp $
# $OpenBSD: Makefile,v 1.39 2021/01/15 17:26:04 kmos Exp $
COMMENT= web proxy with advanced filtering capabilities
@ -33,6 +33,11 @@ CONFIGURE_ARGS= --with-docbook=no \
CONFIGURE_ENV= CPPFLAGS="-Dunix -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mclang}
CFLAGS += -std=gnu99
.endif
pre-configure:
@cd ${WRKDIST} && AUTOCONF_VERSION=${AUTOCONF_VERSION} autoheader