Eli Schwartz eef9b30fdc sys-cluster/drbd-utils: avoid the necessity of USE=split-usr
It was added in commit 02512e1d12 without
any explanation. Comparing builds, it does matter, though -- because on
split-usr systems, it uses and needs the udevdir to be /lib/udev.

Upstream detects this via pkg-config automagic with no way to override
it. But the ebuild never actually depended on virtual/pkgconfig
anyway... the good news is it only uses it for two things.

The other thing it uses it for is for detecting systemd to set the
default systemd unit directory when the configure option is not passed.
We want to install it unconditionally though, which means we cannot rely
on pkg-config for this either. That means we are using it for nothing.

Instead, explicitly set PKG_CONFIG=/bin/false to ensure it gets detected
as missing/broken, which means we fall back to the default udev
directory value, which is safe for split-usr systems.

While we are at it:

- ensure the systemdunitdir setting actually does something by declaring
  the init type as systemd. The openrc files come from gentoo anyway and
  are overwritten after emake install.
- avoid reinstalling the tmpfiles, which was originally added in commit
  85d6acdce7 specifically to work around
  the "only on systemd" issue.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2024-01-01 00:12:13 +00:00
2023-12-30 17:56:07 +01:00
2023-12-30 03:10:57 +00:00
2023-12-29 23:48:40 +01:00
2023-12-28 21:45:43 +09:00
2023-12-30 03:10:57 +00:00
2023-12-31 18:21:54 +01:00
2023-12-27 16:58:46 +01:00
2023-12-31 19:55:26 +01:00
2023-12-27 20:22:29 +01:00
2023-12-26 21:24:48 +00:00
2023-12-31 16:29:41 +01:00
2023-12-23 22:51:20 +01:00
2023-12-28 03:00:04 +01:00
2023-12-31 20:48:57 +01:00
2023-12-28 21:39:42 +09:00
2023-12-28 04:55:40 +00:00
2023-12-16 09:59:04 +02:00
2023-12-30 01:03:01 +02:00
2023-12-29 19:07:51 +02:00
2023-12-30 03:10:57 +00:00
2023-12-22 09:38:17 +01:00
2023-12-30 17:10:53 +01:00
2023-12-28 04:41:48 +00:00
2023-12-30 17:50:22 -05:00
2023-12-31 03:43:33 +01:00
2024-01-01 00:08:11 +00:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%