Thu Jan 23 14:49:09 2020 UTC ()
squid4: Remove -Werror, violates at least -Wwrite-strings.


(jperkin)
diff -r1.2 -r1.3 pkgsrc/www/squid4/Makefile

cvs diff -r1.2 -r1.3 pkgsrc/www/squid4/Makefile (expand / switch to unified diff)

--- pkgsrc/www/squid4/Makefile 2020/01/18 21:51:12 1.2
+++ pkgsrc/www/squid4/Makefile 2020/01/23 14:49:09 1.3
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.2 2020/01/18 21:51:12 jperkin Exp $ 1# $NetBSD: Makefile,v 1.3 2020/01/23 14:49:09 jperkin Exp $
2 2
3DISTNAME= squid-4.9 3DISTNAME= squid-4.9
4PKGREVISION= 1 4PKGREVISION= 1
5CATEGORIES= www 5CATEGORIES= www
6MASTER_SITES= http://www.squid-cache.org/Versions/v4/ 6MASTER_SITES= http://www.squid-cache.org/Versions/v4/
7MASTER_SITES+= ftp://ftp.squid-cache.org/pub/squid/ 7MASTER_SITES+= ftp://ftp.squid-cache.org/pub/squid/
8MASTER_SITES+= ftp://ftp.squid-cache.org/pub/archive/4/ 8MASTER_SITES+= ftp://ftp.squid-cache.org/pub/archive/4/
9EXTRACT_SUFX= .tar.xz 9EXTRACT_SUFX= .tar.xz
10 10
11MAINTAINER= pkgsrc-users@NetBSD.org 11MAINTAINER= pkgsrc-users@NetBSD.org
12HOMEPAGE= http://www.squid-cache.org/ 12HOMEPAGE= http://www.squid-cache.org/
13COMMENT= Post-Harvest_cached WWW proxy cache and accelerator 13COMMENT= Post-Harvest_cached WWW proxy cache and accelerator
14LICENSE= gnu-gpl-v2 14LICENSE= gnu-gpl-v2
@@ -24,26 +24,28 @@ CONFIGURE_ARGS+= --enable-cachemgr-hostn @@ -24,26 +24,28 @@ CONFIGURE_ARGS+= --enable-cachemgr-hostn
24CONFIGURE_ARGS+= --enable-delay-pools 24CONFIGURE_ARGS+= --enable-delay-pools
25CONFIGURE_ARGS+= --enable-icap-client 25CONFIGURE_ARGS+= --enable-icap-client
26CONFIGURE_ARGS+= --enable-icmp 26CONFIGURE_ARGS+= --enable-icmp
27CONFIGURE_ARGS+= --enable-poll 27CONFIGURE_ARGS+= --enable-poll
28CONFIGURE_ARGS+= --enable-removal-policies=lru,heap 28CONFIGURE_ARGS+= --enable-removal-policies=lru,heap
29CONFIGURE_ARGS+= --enable-storeio=${SQUID_BACKENDS:Q} 29CONFIGURE_ARGS+= --enable-storeio=${SQUID_BACKENDS:Q}
30CONFIGURE_ARGS+= --with-aio 30CONFIGURE_ARGS+= --with-aio
31CONFIGURE_ARGS+= --with-default-user=${SQUID_USER} 31CONFIGURE_ARGS+= --with-default-user=${SQUID_USER}
32CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/squid.pid 32CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/squid.pid
33 33
34# Let 'purge' find correct config file by default. 34# Let 'purge' find correct config file by default.
35CPPFLAGS+= -DDEFAULT_SQUID_CONF=\"${PKG_SYSCONFDIR}/squid.conf\" 35CPPFLAGS+= -DDEFAULT_SQUID_CONF=\"${PKG_SYSCONFDIR}/squid.conf\"
36 36
 37BUILDLINK_TRANSFORM+= rm:-Werror
 38
37BUILD_DEFS+= VARBASE 39BUILD_DEFS+= VARBASE
38MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} 40MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
39MAKE_ENV+= PKG_PREFIX=${PREFIX} VARBASE=${VARBASE} 41MAKE_ENV+= PKG_PREFIX=${PREFIX} VARBASE=${VARBASE}
40REPLACE_PERL+= contrib/url-normalizer.pl contrib/user-agents.pl \ 42REPLACE_PERL+= contrib/url-normalizer.pl contrib/user-agents.pl \
41 scripts/AnnounceCache.pl scripts/access-log-matrix.pl \ 43 scripts/AnnounceCache.pl scripts/access-log-matrix.pl \
42 scripts/cache-compare.pl scripts/cachetrace.pl \ 44 scripts/cache-compare.pl scripts/cachetrace.pl \
43 scripts/calc-must-ids.pl scripts/check_cache.pl \ 45 scripts/calc-must-ids.pl scripts/check_cache.pl \
44 scripts/fileno-to-pathname.pl scripts/find-alive.pl \ 46 scripts/fileno-to-pathname.pl scripts/find-alive.pl \
45 scripts/flag_truncs.pl scripts/icp-test.pl \ 47 scripts/flag_truncs.pl scripts/icp-test.pl \
46 scripts/icpserver.pl scripts/tcp-banger.pl \ 48 scripts/icpserver.pl scripts/tcp-banger.pl \
47 scripts/trace-job.pl scripts/trace-master.pl \ 49 scripts/trace-job.pl scripts/trace-master.pl \
48 scripts/udp-banger.pl scripts/upgrade-1.0-store.pl \ 50 scripts/udp-banger.pl scripts/upgrade-1.0-store.pl \
49 tools/helper-ok-dying.pl tools/helper-ok.pl 51 tools/helper-ok-dying.pl tools/helper-ok.pl