head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2019.06.16.15.28.12; author leot; state dead; branches; next 1.1; commitid tWl0ZVxq76fAvqrB; 1.1 date 2019.06.16.01.54.40; author ryoon; state Exp; branches; next ; commitid EOj07cTT50hl1mrB; desc @@ 1.2 log @glib2: Use PKGCONFIG_OVERRIDE instead of patching meson.build-s meson `pkgconfig' module generate pkg-config files during the configure phase and PKGCONFIG_OVERRIDE can be used in post-configure stage to avoid directly patching meson.build files. Discussed with , thanks! @ text @$NetBSD: patch-gthread_meson.build,v 1.1 2019/06/16 01:54:40 ryoon Exp $ --- gthread/meson.build.orig 2019-06-10 17:47:20.000000000 +0000 +++ gthread/meson.build @@@@ -24,7 +24,7 @@@@ libgthread = library('gthread-2.0', ) pkg.generate(libgthread, - libraries : [thread_dep], + libraries : [thread_dep, '-Wl,-rpath${libdir}'], requires : ['glib-2.0'], version : glib_version, install_dir : glib_pkgconfigreldir, @ 1.1 log @Include rpath flags to ldflags, Bump PKGREVISION This is workaround and should be fixed with more generic approach. Outside pkgsrc, this may not work properly. @ text @d1 1 a1 1 $NetBSD$ @