diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-07 15:13:37 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-07 15:13:37 +0000 |
commit | 8615c518b1f1d03130f21656a1a026959bb1e9c9 (patch) | |
tree | 5481bb093a77331e69ccd7840c3fc340dd2edc18 /sys-auth/polkit/files | |
parent | d04ca8750504d8c7d1904d580fc0c4d1edb3b465 (diff) |
gentoo auto-resync : 07:12:2022 - 15:13:37
Diffstat (limited to 'sys-auth/polkit/files')
-rw-r--r-- | sys-auth/polkit/files/polkit-122-libs-only-postinstall.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sys-auth/polkit/files/polkit-122-libs-only-postinstall.patch b/sys-auth/polkit/files/polkit-122-libs-only-postinstall.patch new file mode 100644 index 000000000000..d96b4bc4bde1 --- /dev/null +++ b/sys-auth/polkit/files/polkit-122-libs-only-postinstall.patch @@ -0,0 +1,39 @@ +https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/149 + +From bef75fb8291b3871894d8ffe19f7242448cdb4a8 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Wed, 7 Dec 2022 13:18:09 +0000 +Subject: [PATCH] meson.build: fix install with libs_only + +Bug: https://bugs.gentoo.org/884701 +Signed-off-by: Sam James <sam@gentoo.org> +--- a/meson.build ++++ b/meson.build +@@ -360,14 +360,17 @@ configure_file( + configuration: config_h, + ) + +-meson.add_install_script( +- 'meson_post_install.py', +- get_option('bindir'), +- pk_pkgdatadir, +- pk_libprivdir, +- pk_pkgsysconfdir, +- polkitd_user, +-) ++ ++if not libs_only ++ meson.add_install_script( ++ 'meson_post_install.py', ++ get_option('bindir'), ++ pk_pkgdatadir, ++ pk_libprivdir, ++ pk_pkgsysconfdir, ++ polkitd_user, ++ ) ++endif + + output = '\n ' + meson.project_name() + ' ' + meson.project_version() + '\n' + output += ' ============\n\n' +-- +GitLab |