diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2017-09-22 22:40:16 +0200 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2017-09-22 17:00:37 -0400 |
commit | c10205d7e2b4fd6b35901c7adb9059f0711b4d65 (patch) | |
tree | 7ffa2d910f9c5bbda9eb1d7ae845f6590371c730 /dev-libs | |
parent | c1720c8f613798d271461b16b9b7c6007f758273 (diff) | |
download | gentoo-c10205d7e2b4fd6b35901c7adb9059f0711b4d65.tar.gz gentoo-c10205d7e2b4fd6b35901c7adb9059f0711b4d65.tar.xz |
dev-libs/protobuf: Fix building with USE="emacs" (bug #631686).
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/protobuf/protobuf-3.4.1.ebuild | 12 |
1 files 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() { |