~alpine/aports

main/libbsd: place libbsd.so symlink in /usr/lib v1 REJECTED

Drew DeVault: 1
 main/libbsd: place libbsd.so symlink in /usr/lib

 1 files changed, 3 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/4026/mbox | git am -3
Learn more about email & git

[PATCH] main/libbsd: place libbsd.so symlink in /usr/lib Export this patch

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 <sir@cmpwn.com>
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
I'm not sure this is the right thing to do. If it is, then it means that the configure script is broken and should be fixed.

See https://gitlab.freedesktop.org/libbsd/libbsd/-/commit/e7cf8c5785b14fc8fbd37bb665a5f9a4f28c7888

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33168#note_229258
I believe this was solved with 5cc6c988bc568a8b47ff8901228b863c7d6ba5ae

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33168#note_229260