summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2021-09-28 13:00:46 +0000
committerjperkin <jperkin@pkgsrc.org>2021-09-28 13:00:46 +0000
commit696b0f35ca08c5a35d225425d7b7cf25413cbccd (patch)
treec34b89942c1469b2acc5f1f2bf9e3c33573385e1 /textproc
parentef8973584993ccda2f3c344309c5cd2d55937fc2 (diff)
downloadpkgsrc-696b0f35ca08c5a35d225425d7b7cf25413cbccd.tar.gz
ruby-ferret: Support GCC >= 10.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-ferret/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/ruby-ferret/Makefile b/textproc/ruby-ferret/Makefile
index 9b3e83c3a7e..01e384cfd1a 100644
--- a/textproc/ruby-ferret/Makefile
+++ b/textproc/ruby-ferret/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2021/02/14 15:06:43 taca Exp $
+# $NetBSD: Makefile,v 1.15 2021/09/28 13:00:46 jperkin Exp $
DISTNAME= ferret-0.11.8.7
PKGREVISION= 1
@@ -14,7 +14,7 @@ RUBYGEM_OPTIONS+= --format-executable
.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].*)
BUILDLINK_TRANSFORM.SunOS+= opt:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600
.endif