[sparc64/base-gcc] Fix build of www/privoxy
privoxy uses C99 constructs so base-gcc needs to be told that. ok? --Kurt Index: Makefile === RCS file: /cvs/ports/www/privoxy/Makefile,v retrieving revision 1.38 diff -u -p -r1.38 Makefile --- Makefile29 Nov 2020 19:08:14 - 1.38 +++ Makefile9 Jan 2021 17:30:44 - @@ -33,6 +33,11 @@ CONFIGURE_ARGS= --with-docbook=no \ CONFIGURE_ENV= CPPFLAGS="-Dunix -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +.include +.if !${PROPERTIES:Mclang} +CFLAGS += -std=gnu99 +.endif + pre-configure: @cd ${WRKDIST} && AUTOCONF_VERSION=${AUTOCONF_VERSION} autoheader
[sparc64/base-gcc] Fix build of www/privoxy
privoxy uses C99 constructs so base-gcc needs to be told that. This diff fixes the build for sparc64 ok? --Kurt Index: Makefile === RCS file: /cvs/ports/www/privoxy/Makefile,v retrieving revision 1.38 diff -u -p -r1.38 Makefile --- Makefile29 Nov 2020 19:08:14 - 1.38 +++ Makefile18 Dec 2020 16:53:00 - @@ -33,6 +33,11 @@ CONFIGURE_ARGS= --with-docbook=no \ CONFIGURE_ENV= CPPFLAGS="-Dunix -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +.include +.if !${PROPERTIES:Mclang} +CFLAGS += -std=gnu99 +.endif + pre-configure: @cd ${WRKDIST} && AUTOCONF_VERSION=${AUTOCONF_VERSION} autoheader