pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/glib2 Fix build on SunOS gcc-solaris11 5.11 11.3...
details: https://anonhg.NetBSD.org/pkgsrc/rev/54a91496d69c
branches: trunk
changeset: 340793:54a91496d69c
user: prlw1 <prlw1%pkgsrc.org@localhost>
date: Tue Oct 08 08:48:15 2019 +0000
description:
Fix build on SunOS gcc-solaris11 5.11 11.3 sun4u sparc SUNW,SPARC-Enterprise
from Palle Lyckegaard in PR pkg/54608.
diffstat:
devel/glib2/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 5403f1c716dd -r 54a91496d69c devel/glib2/Makefile
--- a/devel/glib2/Makefile Tue Oct 08 06:38:05 2019 +0000
+++ b/devel/glib2/Makefile Tue Oct 08 08:48:15 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.259 2019/10/07 09:28:10 prlw1 Exp $
+# $NetBSD: Makefile,v 1.260 2019/10/08 08:48:15 prlw1 Exp $
.include "Makefile.common"
@@ -11,7 +11,8 @@
# Avoid linux dependency on libmount-dev
MESON_ARGS+= -Dlibmount=false
-LDFLAGS.SunOS+= -lintl -lnsl
+CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1
+LDFLAGS.SunOS+= -lintl -lnsl
REPLACE_PYTHON+= gio/gio-querymodules-wrapper.py
REPLACE_PYTHON+= gio/tests/gengiotypefuncs.py
Home |
Main Index |
Thread Index |
Old Index