diff options
author | jperkin <jperkin@pkgsrc.org> | 2021-09-28 12:51:06 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2021-09-28 12:51:06 +0000 |
commit | c79549ef6e02ae80d63e4fe79220c743b9cc8b04 (patch) | |
tree | 1b0042db2834608b2bb90b5c2b3b4af615b77db6 /misc/screen | |
parent | 36fb0e85ade42ba7d12bf0b2a431f45532d82f6a (diff) | |
download | pkgsrc-c79549ef6e02ae80d63e4fe79220c743b9cc8b04.tar.gz |
screen: Support GCC >= 10.
Diffstat (limited to 'misc/screen')
-rw-r--r-- | misc/screen/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile index 467f413c42a..7439e5515ea 100644 --- a/misc/screen/Makefile +++ b/misc/screen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.119 2021/03/13 07:24:04 kim Exp $ +# $NetBSD: Makefile,v 1.120 2021/09/28 12:51:06 jperkin Exp $ DISTNAME= screen-4.8.0 PKGREVISION= 4 @@ -46,7 +46,7 @@ PLIST_VARS+= terminfo .include "../../mk/compiler.mk" .if ${OPSYS} == "SunOS" -. 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].*) CPPFLAGS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ . else CPPFLAGS+= -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ |