Diff rsvndump-0.6.1 with a rsvndump-0.6.1-r1
/usr/portage/dev-vcs/rsvndump/rsvndump-0.6.1-r1.ebuild 2023-10-09 14:52:31.024368389 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2022 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit autotools |
7 | 7 | |
... | ... | |
29 | 29 |
# linker lld with profile 17.1 on amd64 (see https://bugs.gentoo.org/739028). |
30 | 30 |
# The grep sandwich acts as a regression test so that a future |
31 | 31 |
# version bump cannot break patching without noticing. |
32 |
grep -wq svn_prefix/lib m4/find_svn.m4 || die |
|
33 |
sed "s,svn_prefix/lib,svn_prefix/$(get_libdir)," -i m4/find_svn.m4 || die |
|
34 |
grep -w svn_prefix/lib m4/find_svn.m4 && die |
|
35 |
grep -wq SVN_PREFIX/lib configure.ac || die |
|
36 |
sed "s,SVN_PREFIX/lib,SVN_PREFIX/$(get_libdir)," -i configure.ac || die |
|
37 |
grep -w SVN_PREFIX/lib configure.ac && die |
|
32 |
if [[ $(get_libdir) != lib ]] ; then |
|
33 |
grep -wq svn_prefix/lib m4/find_svn.m4 || die |
|
34 |
sed "s,svn_prefix/lib,svn_prefix/$(get_libdir)," -i m4/find_svn.m4 || die |
|
35 |
grep -w svn_prefix/lib m4/find_svn.m4 && die |
|
36 | ||
37 |
grep -wq SVN_PREFIX/lib configure.ac || die |
|
38 |
sed "s,SVN_PREFIX/lib,SVN_PREFIX/$(get_libdir)," -i configure.ac || die |
|
39 |
grep -w SVN_PREFIX/lib configure.ac && die |
|
40 |
fi |
|
38 | 41 | |
39 | 42 |
eautoreconf |
40 | 43 |
} |