aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2017-08-01 17:01:14 +0800
committerrakuco <rakuco@FreeBSD.org>2017-08-01 17:01:14 +0800
commitb8d1d29873576de6bba9283b22eacb627aad1e44 (patch)
treee3707990b0f69e1eed726f3812b2047a0c5d2fda /irc
parent93458511ccdfa9f77fff3a1a49d90292749b34dc (diff)
downloadfreebsd-ports-gnome-b8d1d29873576de6bba9283b22eacb627aad1e44.tar.gz
freebsd-ports-gnome-b8d1d29873576de6bba9283b22eacb627aad1e44.tar.zst
freebsd-ports-gnome-b8d1d29873576de6bba9283b22eacb627aad1e44.zip
Explicitly build with -std=gnu++03.
This fixes the build with GCC 6, which defaults to -std=gnu++14. The project, which seems to be unmaintained upstream, is incompatible with C++11 and later. PR: 219298 Approved by: portmgr (blanket approval)
Diffstat (limited to 'irc')
-rw-r--r--irc/ezbounce/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/irc/ezbounce/Makefile b/irc/ezbounce/Makefile
index c85bdec93cca..ea05bd579387 100644
--- a/irc/ezbounce/Makefile
+++ b/irc/ezbounce/Makefile
@@ -24,6 +24,10 @@ GNU_CONFIGURE= yes
USES= gmake
USE_GCC= any
+# ezbounce 1.99.15 isn't compatible with C++11 and later, which some compilers
+# such as GCC 6 default to.
+USE_CXXSTD= gnu++03
+
SUB_FILES= pkg-message
post-patch: