summaryrefslogtreecommitdiff
path: root/net/php-sockets
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2021-09-28 12:57:56 +0000
committerjperkin <jperkin@pkgsrc.org>2021-09-28 12:57:56 +0000
commite2245d89dd48218bba800ce52e6a07d340eb6d41 (patch)
treed664e07b6d51138c5841b23367c7508b5da03bab /net/php-sockets
parent0148f4797566f75832e8530e5b7fd9e255032027 (diff)
downloadpkgsrc-e2245d89dd48218bba800ce52e6a07d340eb6d41.tar.gz
php-sockets: Support GCC >= 10.
Diffstat (limited to 'net/php-sockets')
-rw-r--r--net/php-sockets/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/php-sockets/Makefile b/net/php-sockets/Makefile
index 7c902f3c810..6ba9e7ffbff 100644
--- a/net/php-sockets/Makefile
+++ b/net/php-sockets/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2019/11/03 11:45:49 rillig Exp $
+# $NetBSD: Makefile,v 1.17 2021/09/28 12:57:56 jperkin Exp $
MODNAME= sockets
CATEGORIES+= net
@@ -14,7 +14,7 @@ CONFIGURE_ARGS.SunOS+= ac_cv_func_if_indextoname=yes
.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*)
+.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(CC_VERSION:Mgcc-1[0-9].*)
CFLAGS.SunOS+= -D_XOPEN_SOURCE=600
.else
CFLAGS.SunOS+= -D_XOPEN_SOURCE=500 # msghdr extensions