aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@protonmail.com>2020-12-28 19:37:15 +0100
committerMaciej Barć <xgqt@protonmail.com>2020-12-28 19:37:15 +0100
commit227894b974cad3f109b7bb8b1ac5d51602545746 (patch)
tree8e4d9725ad08315dfd1f879a1fc862d6543bdc06
parentdev-python/tweepy: new package (diff)
downloadguru-227894b9.tar.gz
guru-227894b9.tar.bz2
guru-227894b9.zip
dev-vcs/gitahead: sed for gnome-keyring removal
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
-rw-r--r--dev-vcs/gitahead/gitahead-2.6.3.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-vcs/gitahead/gitahead-2.6.3.ebuild b/dev-vcs/gitahead/gitahead-2.6.3.ebuild
index 8effd92c6..6b1503782 100644
--- a/dev-vcs/gitahead/gitahead-2.6.3.ebuild
+++ b/dev-vcs/gitahead/gitahead-2.6.3.ebuild
@@ -53,6 +53,14 @@ src_unpack() {
done
}
+src_prepare() {
+ if ! use gnome-keyring; then
+ sed -i 's/add_subdirectory(git)//' ./dep/CMakeLists.txt || die
+ fi
+ default
+ cmake_src_prepare
+}
+
src_install() {
cd "${BUILD_DIR}" || die