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: riastradh
Date: Sun Apr 3 23:49:29 UTC 2022
Modified Files:
pkgsrc/devel/glib2: Makefile
Log Message:
devel/glib: Make this cross-compile on NetBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.288 -r1.289 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.288 pkgsrc/devel/glib2/Makefile:1.289
--- pkgsrc/devel/glib2/Makefile:1.288 Tue Feb 15 10:01:37 2022
+++ pkgsrc/devel/glib2/Makefile Sun Apr 3 23:49:29 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.288 2022/02/15 10:01:37 adam Exp $
+# $NetBSD: Makefile,v 1.289 2022/04/03 23:49:29 riastradh Exp $
.include "Makefile.common"
@@ -23,6 +23,20 @@ CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D_
LDFLAGS.SunOS+= -liconv -lintl -lnsl -lsocket
LDFLAGS.FreeBSD+= -liconv
+.include "../../mk/bsd.prefs.mk"
+.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+MESON_CROSS_ARCH_VARS+= growing_stack
+MESON_CROSS_OPSYS_VARS+= have_c99_snprintf
+MESON_CROSS_OPSYS_VARS+= have_c99_vsnprintf
+MESON_CROSS_OPSYS_VARS+= have_strlcpy
+MESON_CROSS_OPSYS_VARS+= have_unix98_printf
+MESON_CROSS.NetBSD.have_c99_snprintf= true
+MESON_CROSS.NetBSD.have_c99_vsnprintf= true
+MESON_CROSS.NetBSD.have_strlcpy= true
+MESON_CROSS.NetBSD.have_unix98_printf= true
+MESON_CROSS.hppa.growing_stack= true
+.endif
+
REPLACE_PYTHON+= gio/gio-querymodules-wrapper.py
REPLACE_PYTHON+= gio/tests/gengiotypefuncs.py
REPLACE_PYTHON+= gio/tests/memory-monitor-dbus.py.in
Home |
Main Index |
Thread Index |
Old Index