From: Hans de Graaff Date: Sat, 10 Nov 2018 06:19:04 +0000 (+0100) Subject: app-emacs/graphql: fix compilation without ghub X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0d82fe6ce4cf2efda6790894a04607b391fed690;p=gentoo.git 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 Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- diff --git a/app-emacs/graphql/graphql-0.1.1.ebuild b/app-emacs/graphql/graphql-0.1.1.ebuild index eb8fe947e5f0..9dccfdd1f85d 100644 --- a/app-emacs/graphql/graphql-0.1.1.ebuild +++ b/app-emacs/graphql/graphql-0.1.1.ebuild @@ -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 +}