From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3FB431396D0 for ; Fri, 22 Sep 2017 21:05:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72F1323418A; Fri, 22 Sep 2017 21:05:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 525C923418A for ; Fri, 22 Sep 2017 21:05:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2C88134071C for ; Fri, 22 Sep 2017 21:05:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9206E908B for ; Fri, 22 Sep 2017 21:05:08 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1506114037.c10205d7e2b4fd6b35901c7adb9059f0711b4d65.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/protobuf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/protobuf/protobuf-3.4.1.ebuild X-VCS-Directories: dev-libs/protobuf/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: c10205d7e2b4fd6b35901c7adb9059f0711b4d65 X-VCS-Branch: master Date: Fri, 22 Sep 2017 21:05:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5dc30a12-04ba-40d1-8c58-ca43574409c9 X-Archives-Hash: b4303c0398c960f9c5952afced879479 commit: c10205d7e2b4fd6b35901c7adb9059f0711b4d65 Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Fri Sep 22 20:40:16 2017 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Fri Sep 22 21:00:37 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c10205d7 dev-libs/protobuf: Fix building with USE="emacs" (bug #631686). dev-libs/protobuf/protobuf-3.4.1.ebuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/dev-libs/protobuf/protobuf-3.4.1.ebuild b/dev-libs/protobuf/protobuf-3.4.1.ebuild index d4a2ba85c2d..ab347e7227c 100644 --- a/dev-libs/protobuf/protobuf-3.4.1.ebuild +++ b/dev-libs/protobuf/protobuf-3.4.1.ebuild @@ -53,16 +53,20 @@ multilib_src_configure() { ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" } +src_compile() { + multilib-minimal_src_compile + + if use emacs; then + elisp-compile editors/protobuf-mode.el + fi +} + multilib_src_compile() { if tc-is-cross-compiler; then emake -C "${WORKDIR}/build/src" protoc fi default - - if use emacs; then - elisp-compile editors/protobuf-mode.el - fi } multilib_src_test() {