Subject: CVS commit: pkgsrc/devel/glib2
From: Min Sik Kim
Date: 2020-01-22 18:09:45
Message id: 20200122170945.1664FFBF4@cvs.NetBSD.org

Log Message:
devel/glib2: Fix build failure on Darwin

The new patch sets LD_LIBRARY_PATH so that uninstalled
glib-compile-resources can find libraries. This fixes the following
error during build:

[651/1015] Generating plugin-resources.c with a custom command.
FAILED: gio/tests/plugin-resources.c
/Users/pbulk/pkgsrc/work/devel/glib2/work/glib-2.62.4/output/gio/glib-compile-resources \ 
--target=gio/tests/plugin-resources.c \ 
--sourcedir=/Users/pbulk/pkgsrc/work/devel/glib2/work/glib-2.62.4/gio/tests \ 
--generate-source --c-name _g_plugin ../gio/tests/test4.gresource.xml
dyld: Library not loaded: @rpath/libgio-2.0.0.dylib
  Referenced from: \ 
/Users/pbulk/pkgsrc/work/devel/glib2/work/glib-2.62.4/output/gio/glib-compile-re \ 
sources
  Reason: image not found

Files:
RevisionActionfile
1.1addpkgsrc/devel/glib2/patches/patch-gio_tests_meson.build
1.265modifypkgsrc/devel/glib2/distinfo