pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/ruby-ferret



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Oct 23 12:39:25 UTC 2018

Modified Files:
        pkgsrc/textproc/ruby-ferret: Makefile

Log Message:
ruby-ferret: Fix build on SunOS C99.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/textproc/ruby-ferret/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/ruby-ferret/Makefile
diff -u pkgsrc/textproc/ruby-ferret/Makefile:1.12 pkgsrc/textproc/ruby-ferret/Makefile:1.13
--- pkgsrc/textproc/ruby-ferret/Makefile:1.12   Mon Jun  5 15:21:20 2017
+++ pkgsrc/textproc/ruby-ferret/Makefile        Tue Oct 23 12:39:25 2018
@@ -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 @@ LICENSE=     mit
 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