Gentoo Archives: gentoo-commits

From: "Göktürk Yüksek" <gokturk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/sysbench/
Date: Sun, 29 Jan 2017 04:41:03
Message-Id: 1485663975.ba0b857a1ff9347dce82b9abb67285ba45529ea3.gokturk@gentoo
1 commit: ba0b857a1ff9347dce82b9abb67285ba45529ea3
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Sat Jan 28 07:13:51 2017 +0000
4 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 04:26:15 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba0b857a
7
8 app-benchmarks/sysbench: sync live ebuild
9
10 app-benchmarks/sysbench/sysbench-9999.ebuild | 22 ++++++++++++----------
11 1 file changed, 12 insertions(+), 10 deletions(-)
12
13 diff --git a/app-benchmarks/sysbench/sysbench-9999.ebuild b/app-benchmarks/sysbench/sysbench-9999.ebuild
14 index f6055be..814a381 100644
15 --- a/app-benchmarks/sysbench/sysbench-9999.ebuild
16 +++ b/app-benchmarks/sysbench/sysbench-9999.ebuild
17 @@ -1,4 +1,4 @@
18 -# Copyright 1999-2016 Gentoo Foundation
19 +# Copyright 1999-2017 Gentoo Foundation
20 # Distributed under the terms of the GNU General Public License v2
21 # $Id$
22
23 @@ -10,43 +10,45 @@ DESCRIPTION="System performance benchmark"
24 HOMEPAGE="https://github.com/akopytov/sysbench"
25
26 EGIT_REPO_URI="https://github.com/akopytov/sysbench.git"
27 -EGIT_BRANCH="1.0"
28
29 LICENSE="GPL-2+"
30 SLOT="0"
31 KEYWORDS=""
32 -IUSE="aio lua mysql postgres test"
33 +IUSE="aio mysql postgres test"
34
35 RDEPEND="aio? ( dev-libs/libaio )
36 - lua? ( dev-lang/lua:= )
37 mysql? ( virtual/libmysqlclient )
38 postgres? ( dev-db/postgresql:= )"
39 DEPEND="${RDEPEND}
40 - sys-devel/libtool:=
41 + app-editors/vim-core
42 + dev-lang/luajit:=
43 + dev-libs/concurrencykit
44 dev-libs/libxslt
45 + sys-devel/libtool:=
46 + virtual/pkgconfig
47 test? ( dev-util/cram )"
48
49 -REQUIRED_USE="
50 - mysql? ( lua )
51 - postgres? ( lua )"
52 -
53 src_prepare() {
54 default
55
56 sed -i -e "/^htmldir =/s:=.*:=/usr/share/doc/${PF}/html:" doc/Makefile.am || die
57
58 + # remove bundled libs
59 + rm -r third_party/luajit/luajit third_party/concurrency_kit/ck || die
60 +
61 ./autogen.sh || die
62 }
63
64 src_configure() {
65 local myeconfargs=(
66 $(use_enable aio aio)
67 - $(use_with lua lua)
68 $(use_with mysql mysql)
69 $(use_with postgres pgsql)
70 --without-attachsql
71 --without-drizzle
72 --without-oracle
73 + --with-system-luajit
74 + --with-system-ck
75 )
76
77 econf "${myeconfargs[@]}"