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-gmodule_meson.build,v 1.1 2019/06/16 01:54:40 ryoon Exp $ --- gmodule/meson.build.orig 2019-06-10 17:47:20.000000000 +0000 +++ gmodule/meson.build @@@@ -110,7 +110,7 @@@@ libgmodule = library('gmodule-2.0', supported_var = 'gmodule_supported=@@0@@'.format(g_module_impl != '0') pkg.generate(libgmodule, - libraries : [thread_dep], + libraries : [thread_dep, '-Wl,-rpath${libdir}'], requires : ['glib-2.0'], version : glib_version, variables : [supported_var], @ 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$ @