app-emacs/graphql: fix compilation without ghub

Don't install examples.el which depends on ghub, leading
to circular dependencies.

Fixes: https://bugs.gentoo.org/670779
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
Hans de Graaff
2018-11-10 07:19:04 +01:00
parent 1f8ce87f04
commit 0d82fe6ce4

View File

@@ -20,3 +20,10 @@ DOCS="README.md"
# Tries to download emake tool on the fly
RESTRICT="test"
src_prepare() {
# Avoid examples which would require circular dependencies
rm -f examples.el || die
default
}