summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-17 02:09:46 +0000
committerSam James <sam@gentoo.org>2021-03-17 02:13:05 +0000
commitde1f26b3bd4f5cee5c8fe7ed5e04046dfd8471f5 (patch)
treec6a4c39a03b79d24b80841840ae09a1c419486cb /sys-cluster/drbd-utils
parentnet-misc/bopm: adopt package (diff)
downloadgentoo-de1f26b3bd4f5cee5c8fe7ed5e04046dfd8471f5.tar.gz
gentoo-de1f26b3bd4f5cee5c8fe7ed5e04046dfd8471f5.tar.bz2
gentoo-de1f26b3bd4f5cee5c8fe7ed5e04046dfd8471f5.zip
sys-cluster/drbd-utils: fix systemd unit libdir
Closes: https://bugs.gentoo.org/698304 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-cluster/drbd-utils')
-rw-r--r--sys-cluster/drbd-utils/drbd-utils-9.15.1-r1.ebuild (renamed from sys-cluster/drbd-utils/drbd-utils-9.15.1.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-cluster/drbd-utils/drbd-utils-9.15.1.ebuild b/sys-cluster/drbd-utils/drbd-utils-9.15.1-r1.ebuild
index adb7a23c4af1..f8a1b38d22fc 100644
--- a/sys-cluster/drbd-utils/drbd-utils-9.15.1.ebuild
+++ b/sys-cluster/drbd-utils/drbd-utils-9.15.1-r1.ebuild
@@ -34,12 +34,15 @@ src_prepare() {
-i user/*/Makefile.in || die
# respect multilib
+ # bug #698304
sed -i -e "s:/lib/:/$(get_libdir)/:g" \
Makefile.in scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die
sed -e "s:@prefix@/lib:@prefix@/$(get_libdir):" \
-e "s:(DESTDIR)/lib:(DESTDIR)/$(get_libdir):" \
-i user/*/Makefile.in || die
+ sed -i -e "s/lib/$(get_libdir)/" scripts/drbd.service || die
+
# correct install paths (really correct this time)
sed -i -e "s:\$(sysconfdir)/bash_completion.d:$(get_bashcompdir):" \
scripts/Makefile.in || die