Subject: [alpine-aports] [PATCH] community/pdsh: fix build without git installed

From: alpine-mips-patches <[email-masked]>
Date: Mon, 3 Dec 2018 10:26:31 +0000

Insert package version with sed instead of relying on 'git describe'.
---
 community/pdsh/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/community/pdsh/APKBUILD b/community/pdsh/APKBUILD
index 8f89dcdb4b..eeb4f2f28a 100644
--- a/community/pdsh/APKBUILD
+++ b/community/pdsh/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Jakub Jirutka <[email-masked]>
 pkgname=pdsh
 pkgver=2.33
-pkgrel=0
+pkgrel=1
 pkgdesc="A high performance, parallel remote shell utility"
 url="https://github.com/chaos/pdsh"
 arch="all"
@@ -20,6 +20,7 @@ prepare() {
 	default_prepare
 
 	cd "$builddir"
+	sed -i "s|m4_esyscmd(\[git describe .*\])|[$pkgver]|" configure.ac
 	./bootstrap
 }
 
-- 
2.19.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---