svn commit: r500555 - head/www/squid
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Apr 30 19:10:53 UTC 2019
Author: pkubaj
Date: Tue Apr 30 19:10:40 2019
New Revision: 500555
URL: https://svnweb.freebsd.org/changeset/ports/500555
Log:
www/squid: fix build with GCC-based architectures
Add -Wno-error=stringop-truncation to CFLAGS when using GCC.
PR: 237276
Approved by: timp87 at gmail.com (maintainer timeout), mat (mentor)
Differential Revision: https://reviews.freebsd.org/D20104
Modified:
head/www/squid/Makefile
Modified: head/www/squid/Makefile
==============================================================================
--- head/www/squid/Makefile Tue Apr 30 19:09:15 2019 (r500554)
+++ head/www/squid/Makefile Tue Apr 30 19:10:40 2019 (r500555)
@@ -25,8 +25,6 @@ COMMENT= HTTP Caching Proxy
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_powerpc64= fails to link: ext_time_quota_acl.cc: undefined reference to std::ctype
-
USES= compiler:c++11-lib cpe perl5 shebangfix tar:xz
CONFLICTS= squid*-3.*
@@ -190,6 +188,9 @@ TP_PF_DESC= Transparent proxying with PF
VIA_DB_DESC= Forward/Via database
WCCPV2_DESC= Web Cache Coordination Protocol v2
WCCP_DESC= Web Cache Coordination Protocol
+
+CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}}
+CFLAGS_gcc= -Wno-error=stringop-truncation
change_files= ChangeLog \
contrib/nextstep/makepkg \
More information about the svn-ports-head
mailing list