pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/atk
Module Name: pkgsrc
Committed By: riastradh
Date: Fri Apr 12 19:40:56 UTC 2024
Modified Files:
pkgsrc/devel/atk: Makefile
Log Message:
devel/atk: Make this cross-compile.
Need to tell meson where to find glib-mkenums and glib-genmarshal at
build-time.
To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 pkgsrc/devel/atk/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/atk/Makefile
diff -u pkgsrc/devel/atk/Makefile:1.109 pkgsrc/devel/atk/Makefile:1.110
--- pkgsrc/devel/atk/Makefile:1.109 Fri Apr 12 19:40:41 2024
+++ pkgsrc/devel/atk/Makefile Fri Apr 12 19:40:56 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.109 2024/04/12 19:40:41 riastradh Exp $
+# $NetBSD: Makefile,v 1.110 2024/04/12 19:40:56 riastradh Exp $
DISTNAME= atk-2.38.0
PKGREVISION= 1
@@ -19,6 +19,15 @@ PKGCONFIG_OVERRIDE= output/meson-privat
PKGCONFIG_OVERRIDE_STAGE= pre-install
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/${PKGBASE}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${USE_CROSS_COMPILE:tl} == "yes"
+TOOL_DEPENDS+= glib2-tools>=0:../../devel/glib2-tools
+MESON_CROSS_BINARIES+= glib-genmarshal glib-mkenums
+MESON_CROSS_BINARY.glib-genmarshal+= ${TOOLBASE:Q}/bin/glib-genmarshal
+MESON_CROSS_BINARY.glib-mkenums+= ${TOOLBASE:Q}/bin/glib-mkenums
+.endif
+
PYTHON_FOR_BUILD_ONLY= tool
.include "options.mk"
Home |
Main Index |
Thread Index |
Old Index