diff options
author | prlw1 <prlw1@pkgsrc.org> | 2019-10-08 08:48:15 +0000 |
---|---|---|
committer | prlw1 <prlw1@pkgsrc.org> | 2019-10-08 08:48:15 +0000 |
commit | 9414d89c5578157ae3f3edd3210e060be2ba9123 (patch) | |
tree | 43509356782154cc62454d20b175b9e4c44fb332 /devel | |
parent | 72875e919db7c05e0eb3aa8084778b4389d7f354 (diff) | |
download | pkgsrc-9414d89c5578157ae3f3edd3210e060be2ba9123.tar.gz |
Fix build on SunOS gcc-solaris11 5.11 11.3 sun4u sparc SUNW,SPARC-Enterprise
from Palle Lyckegaard in PR pkg/54608.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/glib2/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile index 69bbff44bba..5358cdead14 100644 --- a/devel/glib2/Makefile +++ b/devel/glib2/Makefile @@ -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 @@ MESON_ARGS+= -Dinstalled_tests=false # 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 |