From 0d82fe6ce4cf2efda6790894a04607b391fed690 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sat, 10 Nov 2018 07:19:04 +0100 Subject: [PATCH] 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 --- app-emacs/graphql/graphql-0.1.1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) 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 +} -- 2.26.2