Skip to content

Commit

Permalink
net-analyzer/munin: avoid git issues when determining version, bug 63…
Browse files Browse the repository at this point in the history
…2320

Package-Manager: Portage-2.3.8, Repoman-2.3.3
  • Loading branch information
graaff committed Oct 15, 2017
1 parent f9c4785 commit d8fca79
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions net-analyzer/munin/files/munin-2.0.33-nogitversion.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- munin-2.0.33/getversion
+++ munin-2.0.33/getversion
@@ -54,8 +54,6 @@

if [ -s "RELEASE" ]; then
cat RELEASE
-elif [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ]; then
- generate_version_string
elif [ ! -z "$(generate_version_string_from_dir)" ]; then
generate_version_string_from_dir
else
1 change: 1 addition & 0 deletions net-analyzer/munin/munin-2.0.33-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ pkg_setup() {
src_prepare() {
epatch "${WORKDIR}"/patches/*.patch
eapply "${FILESDIR}/${P}"-perl526.patch
eapply "${FILESDIR}/${P}"-nogitversion.patch

eapply_user

Expand Down

0 comments on commit d8fca79

Please sign in to comment.