pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ruby-ferret ruby-ferret: Fix build on SunOS C99.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4a1c31033b74
branches: trunk
changeset: 314270:4a1c31033b74
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Tue Oct 23 12:39:25 2018 +0000
description:
ruby-ferret: Fix build on SunOS C99.
diffstat:
textproc/ruby-ferret/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r df49f85347c9 -r 4a1c31033b74 textproc/ruby-ferret/Makefile
--- a/textproc/ruby-ferret/Makefile Tue Oct 23 12:33:03 2018 +0000
+++ b/textproc/ruby-ferret/Makefile Tue Oct 23 12:39:25 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2017/06/05 15:21:20 taca Exp $
+# $NetBSD: Makefile,v 1.13 2018/10/23 12:39:25 jperkin Exp $
DISTNAME= ferret-0.11.8.7
CATEGORIES= textproc
@@ -11,5 +11,11 @@
USE_GCC_RUNTIME= yes
RUBYGEM_OPTIONS+= --format-executable
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*)
+BUILDLINK_TRANSFORM.SunOS+= opt:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600
+.endif
+
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index