commit:     c10205d7e2b4fd6b35901c7adb9059f0711b4d65
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Fri Sep 22 20:40:16 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> 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() {

Reply via email to