1 |
commit: c7f012d40c5238950ee3df63e1f862916316458f |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Fri Jul 6 21:23:33 2018 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 7 02:02:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7f012d4 |
7 |
|
8 |
dev-libs/protobuf-c: Install static library only with USE="static-libs". Minor cleanup. |
9 |
|
10 |
dev-libs/protobuf-c/protobuf-c-1.3.0-r1.ebuild | 8 ++++---- |
11 |
1 file changed, 4 insertions(+), 4 deletions(-) |
12 |
|
13 |
diff --git a/dev-libs/protobuf-c/protobuf-c-1.3.0-r1.ebuild b/dev-libs/protobuf-c/protobuf-c-1.3.0-r1.ebuild |
14 |
index 260f81c9689..bed34d3628b 100644 |
15 |
--- a/dev-libs/protobuf-c/protobuf-c-1.3.0-r1.ebuild |
16 |
+++ b/dev-libs/protobuf-c/protobuf-c-1.3.0-r1.ebuild |
17 |
@@ -9,7 +9,7 @@ MY_PV="${PV/_/-}" |
18 |
MY_P="${PN}-${MY_PV}" |
19 |
|
20 |
DESCRIPTION="Protocol Buffers implementation in C" |
21 |
-HOMEPAGE="https://github.com/protobuf-c/protobuf-c/" |
22 |
+HOMEPAGE="https://github.com/protobuf-c/protobuf-c" |
23 |
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz" |
24 |
|
25 |
LICENSE="BSD-2" |
26 |
@@ -20,7 +20,6 @@ IUSE="static-libs test" |
27 |
|
28 |
RDEPEND=">=dev-libs/protobuf-2.6.0:0=[${MULTILIB_USEDEP}]" |
29 |
DEPEND="${RDEPEND} |
30 |
- test? ( ${AUTOTOOLS_DEPEND} ) |
31 |
virtual/pkgconfig[${MULTILIB_USEDEP}]" |
32 |
|
33 |
PATCHES=( |
34 |
@@ -32,7 +31,7 @@ S="${WORKDIR}/${MY_P}" |
35 |
|
36 |
src_prepare() { |
37 |
default |
38 |
- if ! use test ; then |
39 |
+ if ! use test; then |
40 |
eapply "${FILESDIR}"/${PN}-1.3.0-no-build-tests.patch |
41 |
fi |
42 |
|
43 |
@@ -41,5 +40,6 @@ src_prepare() { |
44 |
|
45 |
multilib_src_configure() { |
46 |
ECONF_SOURCE="${S}" \ |
47 |
- econf "${myeconfargs[@]}" |
48 |
+ econf \ |
49 |
+ $(use_enable static-libs static) |
50 |
} |