commit:     c7f012d40c5238950ee3df63e1f862916316458f
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Fri Jul  6 21:23:33 2018 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jul  7 02:02:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7f012d4

dev-libs/protobuf-c: Install static library only with USE="static-libs". Minor 
cleanup.

 dev-libs/protobuf-c/protobuf-c-1.3.0-r1.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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
index 260f81c9689..bed34d3628b 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.3.0-r1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.3.0-r1.ebuild
@@ -9,7 +9,7 @@ MY_PV="${PV/_/-}"
 MY_P="${PN}-${MY_PV}"
 
 DESCRIPTION="Protocol Buffers implementation in C"
-HOMEPAGE="https://github.com/protobuf-c/protobuf-c/";
+HOMEPAGE="https://github.com/protobuf-c/protobuf-c";
 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz";
 
 LICENSE="BSD-2"
@@ -20,7 +20,6 @@ IUSE="static-libs test"
 
 RDEPEND=">=dev-libs/protobuf-2.6.0:0=[${MULTILIB_USEDEP}]"
 DEPEND="${RDEPEND}
-       test? ( ${AUTOTOOLS_DEPEND} )
        virtual/pkgconfig[${MULTILIB_USEDEP}]"
 
 PATCHES=(
@@ -32,7 +31,7 @@ S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
        default
-       if ! use test ; then
+       if ! use test; then
                eapply "${FILESDIR}"/${PN}-1.3.0-no-build-tests.patch
        fi
 
@@ -41,5 +40,6 @@ src_prepare() {
 
 multilib_src_configure() {
        ECONF_SOURCE="${S}" \
-       econf "${myeconfargs[@]}"
+       econf \
+               $(use_enable static-libs static)
 }

Reply via email to