pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/glib2



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Tue Oct  8 08:48:15 UTC 2019

Modified Files:
        pkgsrc/devel/glib2: Makefile

Log Message:
Fix build on SunOS gcc-solaris11 5.11 11.3 sun4u sparc SUNW,SPARC-Enterprise
from Palle Lyckegaard in PR pkg/54608.


To generate a diff of this commit:
cvs rdiff -u -r1.259 -r1.260 pkgsrc/devel/glib2/Makefile

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

Modified files:

Index: pkgsrc/devel/glib2/Makefile
diff -u pkgsrc/devel/glib2/Makefile:1.259 pkgsrc/devel/glib2/Makefile:1.260
--- pkgsrc/devel/glib2/Makefile:1.259   Mon Oct  7 09:28:10 2019
+++ pkgsrc/devel/glib2/Makefile Tue Oct  8 08:48:15 2019
@@ -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



Home | Main Index | Thread Index | Old Index