summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorprlw1 <prlw1>2016-06-28 10:31:42 +0000
committerprlw1 <prlw1>2016-06-28 10:31:42 +0000
commit3c34cd755b2f1164192d56bffb306b9b1263f1f8 (patch)
treefc7e0797193c37b53608ebb80f71952d23a6ba09 /www
parentc1942cd1a66dcfc60ac6dff83e56fcd1b195f845 (diff)
downloadpkgsrc-3c34cd755b2f1164192d56bffb306b9b1263f1f8.tar.gz
squid3 uses C++11 if available. Insist on C++11 if linking to libecap.
Diffstat (limited to 'www')
-rw-r--r--www/squid3/options.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/squid3/options.mk b/www/squid3/options.mk
index 52dd325475f..d8e20ab7c38 100644
--- a/www/squid3/options.mk
+++ b/www/squid3/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.19 2016/06/17 16:56:28 prlw1 Exp $
+# $NetBSD: options.mk,v 1.20 2016/06/28 10:31:42 prlw1 Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.squid
PKG_SUPPORTED_OPTIONS= ecap inet6 snmp ssl squid-backend-aufs \
@@ -91,6 +91,7 @@ CONFIGURE_ARGS+= --enable-carp
CONFIGURE_ARGS+= --enable-ecap
USE_TOOLS+= pkg-config
CHECK_WRKREF_SKIP+= sbin/squid
+CXXFLAGS+= -std=c++11
.include "../../www/libecap/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-ecap