Diff tokyocabinet-1.4.48-r2 with a tokyocabinet-1.4.48-r3

/usr/portage/dev-db/tokyocabinet/tokyocabinet-1.4.48-r3.ebuild 2023-10-09 14:52:29.344368346 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 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
inherit autotools
6
inherit autotools toolchain-funcs
7 7

  
8 8
DESCRIPTION="A library of routines for managing a database"
9 9
HOMEPAGE="https://fallabs.com/tokyocabinet/"
10 10
SRC_URI="https://fallabs.com/tokyocabinet/${P}.tar.gz"
11 11

  
12
LICENSE="LGPL-2.1"
12
LICENSE="LGPL-2.1+"
13 13
SLOT="0"
14 14
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
15 15
IUSE="bzip2 debug doc examples threads zlib"
16 16

  
17
DEPEND="bzip2? ( app-arch/bzip2 )
18
	zlib? ( sys-libs/zlib )"
17
DEPEND="
18
	bzip2? ( app-arch/bzip2 )
19
	zlib? ( sys-libs/zlib )
20
"
19 21
RDEPEND="${DEPEND}"
20 22

  
21
PATCHES=(
22
	"${FILESDIR}/fix_rpath.patch"
23
)
23
PATCHES=( "${FILESDIR}/fix_rpath.patch" )
24 24

  
25 25
src_prepare() {
26 26
	default
......
30 30
		-e "/DATADIR/d" \
31 31
		-i Makefile.in || die
32 32

  
33
	# cflags fix - remove -O2 at end of line and -fomit-frame-pointer
33
	# cflags fix - remove -O3 at end of line and -fomit-frame-pointer
34 34
	sed -i -e 's/-O3"$/"/' configure.in || die
35 35
	sed -i -e 's/-fomit-frame-pointer//' configure.in || die
36 36

  
......
41 41

  
42 42
	sed -e 's/libtokyocabinet.a/libtokyocabinet.so/g' -i configure.in || die
43 43

  
44
	mv configure.{in,ac} || die
45

  
44
	AR="$(tc-getAR)"
46 45
	eautoreconf
47 46
}
48 47

  
49 48
src_configure() {
50 49
	# we use the "fastest" target without the -O3
51 50
	myconf=(
52
		--disable-static
53 51
		--enable-off64
54 52
		--enable-fastest
55 53
		$(use_enable bzip2 bzip)
Thank you!