Subject: [PATCH] main/libbsd: place libbsd.so symlink in /usr/lib

From: Drew DeVault <[email-masked]>
Date: Wed, 13 Apr 2022 10:48:54 +0200

References: https://gitlab.alpinelinux.org/alpine/aports/-/issues/13690
---
 main/libbsd/APKBUILD | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/main/libbsd/APKBUILD b/main/libbsd/APKBUILD
index 3e124c8ffb..94e60aefd6 100644
--- a/main/libbsd/APKBUILD
+++ b/main/libbsd/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Drew DeVault <[email-masked]>
 pkgname=libbsd
 pkgver=0.11.6
-pkgrel=1
+pkgrel=2
 pkgdesc="commonly-used BSD functions not implemented by all libcs"
 url="https://libbsd.freedesktop.org/"
 arch="all"
@@ -43,6 +43,8 @@ check() {
 
 package() {
 	make DESTDIR="$pkgdir" install
+	# https://gitlab.alpinelinux.org/alpine/aports/-/issues/13690
+	ln -sf libbsd.so."$pkgver" "$pkgdir"/usr/lib/libbsd.so
 }
 
 sha512sums="

base-commit: 26122df9124b4363df88cffd2db929c8869e8cb2
prerequisite-patch-id: 941711984b73b51577fa4c00aeba004c06a6ddc3
prerequisite-patch-id: c616a10d78430421fd27961adb202c1846e9776a
prerequisite-patch-id: d6c67b207203e99a143162011c6efc89ce956d16
prerequisite-patch-id: 8998f9c236fd950b832692b121466f5ec661ec63
prerequisite-patch-id: 77d9be85e468b0c35f1f3f961d0f8a2ae9ab0937
-- 
2.35.2