diff options
author | jperkin <jperkin@pkgsrc.org> | 2021-09-28 12:50:01 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2021-09-28 12:50:01 +0000 |
commit | 36fb0e85ade42ba7d12bf0b2a431f45532d82f6a (patch) | |
tree | a617896a0617f3d54af36ef2b622e6172adfb06c /print | |
parent | ad3cb77dcf7013a5ac9f88dd88c8916f2e3da75d (diff) | |
download | pkgsrc-36fb0e85ade42ba7d12bf0b2a431f45532d82f6a.tar.gz |
ghostscript-*: Support GCC >= 10.
Diffstat (limited to 'print')
-rw-r--r-- | print/ghostscript-agpl/Makefile | 4 | ||||
-rw-r--r-- | print/ghostscript-gpl/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/print/ghostscript-agpl/Makefile b/print/ghostscript-agpl/Makefile index 8d99a7a90be..219c5ef071b 100644 --- a/print/ghostscript-agpl/Makefile +++ b/print/ghostscript-agpl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.62 2021/06/09 20:20:09 adam Exp $ +# $NetBSD: Makefile,v 1.63 2021/09/28 12:50:01 jperkin Exp $ DISTNAME= ghostscript-${GS_VERSION} PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-agpl/} @@ -72,7 +72,7 @@ CFLAGS+= -fPIC .endif # Not ideal but too many files hardcode _XOPEN_SOURCE=500. -.if !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(PKGSRC_COMPILER:Mclang) +.if !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(CC_VERSION:Mgcc-1[0-9].*) || !empty(PKGSRC_COMPILER:Mclang) CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ .else CPPFLAGS.SunOS+= -D__C99FEATURES__ diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile index f818d128456..c2057e56c22 100644 --- a/print/ghostscript-gpl/Makefile +++ b/print/ghostscript-gpl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.61 2021/05/24 19:53:45 wiz Exp $ +# $NetBSD: Makefile,v 1.62 2021/09/28 12:50:02 jperkin Exp $ DISTNAME= ghostscript-${GS_VERSION} PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-gpl/} @@ -76,7 +76,7 @@ CFLAGS+= -fPIC .endif # Not ideal but too many files hardcode _XOPEN_SOURCE=500. -.if !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(PKGSRC_COMPILER:Mclang) +.if !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(CC_VERSION:Mgcc-1[0-9].*) || !empty(PKGSRC_COMPILER:Mclang) CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ .endif |