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

alpine-mips-patches
Details
Message ID
<20181203105411.332494C4A6@mx12.valuehost.ru>
Sender timestamp
1543832791
DKIM signature
missing
Download raw message
Patch: +2 -1
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 <jakub@jirutka.cz>
 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---