pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/ruby-ferret textproc/ruby-ferret: fix build p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/309fd4f94b68
branches:  trunk
changeset: 389714:309fd4f94b68
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Dec 08 14:37:54 2022 +0000

description:
textproc/ruby-ferret: fix build problem on NetBSD

Remove -D_XOPEN_SOURCE=500 on NetNSD.  I don't know it is required on
other operating systems.

I built successsfully without this change on NetBSD 9.3_STALBE on 9th
Nov 2022 and I don't know what was changed.

diffstat:

 textproc/ruby-ferret/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 8fdefbf6984b -r 309fd4f94b68 textproc/ruby-ferret/Makefile
--- a/textproc/ruby-ferret/Makefile     Thu Dec 08 14:12:52 2022 +0000
+++ b/textproc/ruby-ferret/Makefile     Thu Dec 08 14:37:54 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2021/09/28 13:00:46 jperkin Exp $
+# $NetBSD: Makefile,v 1.16 2022/12/08 14:37:54 taca Exp $
 
 DISTNAME=      ferret-0.11.8.7
 PKGREVISION=   1
@@ -16,6 +16,7 @@
 
 .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
+BUILDLINK_TRANSFORM.NetBSD+=   opt:-D_XOPEN_SOURCE=500:
 .endif
 
 .include "../../lang/ruby/gem.mk"



Home | Main Index | Thread Index | Old Index