summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-12-01 00:51:05 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-12-01 00:51:05 -0600
commitdbedafdc39acc4630ae007a9d4609f8e42df66a5 (patch)
tree994cba537ae6aa7be0a974f377e8519789e64485 /system
parente82bed3a2e82f672ecefe6bdba82d3217d71acc1 (diff)
downloadpackages-dbedafdc39acc4630ae007a9d4609f8e42df66a5.tar.gz
packages-dbedafdc39acc4630ae007a9d4609f8e42df66a5.tar.bz2
packages-dbedafdc39acc4630ae007a9d4609f8e42df66a5.tar.xz
packages-dbedafdc39acc4630ae007a9d4609f8e42df66a5.zip
system/bash: Fix invalid version in .pc file
Closes: #1131
Diffstat (limited to 'system')
-rw-r--r--system/bash/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/bash/APKBUILD b/system/bash/APKBUILD
index a7df29ff5..dfb3adab8 100644
--- a/system/bash/APKBUILD
+++ b/system/bash/APKBUILD
@@ -52,6 +52,10 @@ prepare() {
done
default_prepare
+
+ # `abuild` pc: auto-provider cannot handle "-release" string in .pc
+ # See also: adelie/packages#1131
+ sed -i "s/@PACKAGE_VERSION@/$pkgver/" "$builddir"/support/bash.pc.in
}
build() {