Mail archive
alpine-aports

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

From: alpine-mips-patches <info_at_mobile-stream.com>
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
_at_@ -2,7 +2,7 @@
 # Maintainer: Jakub Jirutka <jakub_at_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"
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Dec 03 2018 - 10:26:31 UTC