pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/glib2 devel/glib: Make this cross-compile on Net...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cab01df2f878
branches: trunk
changeset: 376256:cab01df2f878
user: riastradh <riastradh%pkgsrc.org@localhost>
date: Sun Apr 03 23:49:29 2022 +0000
description:
devel/glib: Make this cross-compile on NetBSD.
diffstat:
devel/glib2/Makefile | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r 082efb156b36 -r cab01df2f878 devel/glib2/Makefile
--- a/devel/glib2/Makefile Sun Apr 03 23:49:19 2022 +0000
+++ b/devel/glib2/Makefile Sun Apr 03 23:49:29 2022 +0000
@@ -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 @@
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