commit: 0bcd2e23d38e6dcf01c69ff75da32c5f419881c5 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> AuthorDate: Sun Jul 31 22:40:36 2016 +0000 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> CommitDate: Sun Jul 31 22:40:36 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0bcd2e23
sci-biology/plinkseq: plugin.proto:74:12: FileDescriptorProto is not defined Package-Manager: portage-2.3.0 sci-biology/plinkseq/plinkseq-0.10.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/sci-biology/plinkseq/plinkseq-0.10.ebuild b/sci-biology/plinkseq/plinkseq-0.10.ebuild index e8665ce..71871e8 100644 --- a/sci-biology/plinkseq/plinkseq-0.10.ebuild +++ b/sci-biology/plinkseq/plinkseq-0.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -28,7 +28,15 @@ src_prepare(){ sed -e "s/= -static/=/g" -i config_defs.Makefile || die rm -rf sources/ext/protobuf-* || die sed -e 's#^all:.*#all: echo "skipping compilation of bundled dev-libs/protobuf"#' -i sources/ext/Makefile || die - find . -name \*.proto | while read f; do d=`dirname $f`; pushd $d; protoc --cpp_out=. *.proto || exit 255; popd; done || die + # TODO: fix also sources/ext/sources/include/DUMMY/include/google/protobuf/compiler/plugin.proto causing: + # plugin.proto: Import "google/protobuf/descriptor.proto" was not found or had errors. + # plugin.proto:74:12: "FileDescriptorProto" is not defined. + find . -name \*.proto | while read f; do \ + d=`dirname $f`; \ + pushd $d; \ + protoc --cpp_out=. *.proto || exit 255; \ + popd; \ + done || die autotools-utils_src_prepare }