cyrus-imapd/patch-cassandane-xapian-delve-path

16 lines
612 B
Plaintext
Raw Permalink Normal View History

diff --git a/cassandane/Cassandane/Instance.pm b/cassandane/Cassandane/Instance.pm
2022-06-09 14:52:51 +00:00
index 78e7100..edf6f5d 100644
--- a/cassandane/Cassandane/Instance.pm
+++ b/cassandane/Cassandane/Instance.pm
2022-06-09 14:52:51 +00:00
@@ -492,9 +492,7 @@ sub _find_binary
my $base = $self->{cyrus_destdir} . $self->{cyrus_prefix};
if ($name eq 'delve') {
- my $lib = `ldd $base/libexec/imapd` || die "can't ldd imapd";
- $lib =~ m{(/\S+)/lib/libxapian-([0-9.]+)\.so};
- return "$1/bin/xapian-delve-$2";
+ return "/bin/xapian-delve";
}
foreach (qw( bin sbin libexec libexec/cyrus-imapd lib cyrus/bin ))