Thu Jul 6 12:06:46 2023 UTC ()
gtk3: Darwin needs built libraries at install time.


(jperkin)
diff -r1.185 -r1.186 pkgsrc/x11/gtk3/Makefile

cvs diff -r1.185 -r1.186 pkgsrc/x11/gtk3/Makefile (expand / switch to context diff)
--- pkgsrc/x11/gtk3/Makefile 2023/06/06 10:40:25 1.185
+++ pkgsrc/x11/gtk3/Makefile 2023/07/06 12:06:46 1.186
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.185 2023/06/06 10:40:25 adam Exp $
+# $NetBSD: Makefile,v 1.186 2023/07/06 12:06:46 jperkin Exp $
 
 DISTNAME=	gtk+-3.24.38
 PKGNAME=	${DISTNAME:S/gtk/gtk3/}
@@ -26,6 +26,8 @@
 MESON_ARGS+=	--sysconfdir=${PREFIX}/libdata
 
 BUILDLINK_TRANSFORM.SunOS+=	rm:-Wl,--export-dynamic
+
+MAKE_ENV.Darwin+=	DYLD_LIBRARY_PATH=${WRKSRC}/output/gdk:${WRKSRC}/output/gtk
 
 # There is no logic in gettext.mk to detect the native version of xgettext,
 # and we do need it to be compiled with Glade support.