From db415e44798fbd6a6d36caaadf52524c2c63c1f7 Mon Sep 17 00:00:00 2001 From: alpine-mips-patches Date: Wed, 13 Nov 2019 20:14:14 +0000 Subject: main/bash: fix wrong version in bash.pc --- main/bash/APKBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main/bash') diff --git a/main/bash/APKBUILD b/main/bash/APKBUILD index 6cba929678..fafd574d82 100644 --- a/main/bash/APKBUILD +++ b/main/bash/APKBUILD @@ -6,7 +6,7 @@ pkgver=5.0.11 _patchlevel=${pkgver##*.} _myver=${pkgver%.*} _patchbase=${_myver/./} -pkgrel=0 +pkgrel=1 pkgdesc="The GNU Bourne Again shell" url="https://www.gnu.org/software/bash/bash.html" arch="all" @@ -55,6 +55,9 @@ prepare() { done default_prepare + + # preventively set Version to please 'apk version --check' + sed -i "s/@PACKAGE_VERSION@/$pkgver/" "$builddir"/support/bash.pc.in } build() { -- cgit v1.2.3