aboutsummaryrefslogtreecommitdiffstats
path: root/main/musl
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-08-03 12:00:40 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-08-03 12:07:18 +0200
commit0a74f23c42592b9d6957713cfc83a0371f253bcc (patch)
treea386730e86c444cf967a4f0ea61e0e9420b93ed1 /main/musl
parentfb19d25d23c5df5e6d3a40703278bd4a66edb638 (diff)
downloadaports-0a74f23c42592b9d6957713cfc83a0371f253bcc.tar.bz2
aports-0a74f23c42592b9d6957713cfc83a0371f253bcc.tar.xz
main/musl: fix ldd symlink
fixes #5993
Diffstat (limited to 'main/musl')
-rw-r--r--main/musl/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/musl/APKBUILD b/main/musl/APKBUILD
index 7b0a77eca1..5f4521081a 100644
--- a/main/musl/APKBUILD
+++ b/main/musl/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=musl
pkgver=1.1.15
-pkgrel=1
+pkgrel=2
pkgdesc="the musl c library (libc) implementation"
url="http://www.musl-libc.org/"
arch="all"
@@ -77,6 +77,8 @@ package() {
mv -f "$pkgdir"/usr/lib/libc.so "$pkgdir"/lib/"$LDSO" || return 1
ln -sf "$LDSO" "$pkgdir"/lib/libc.musl-${CARCH}.so.1 || return 1
ln -sf ../../lib/"$LDSO" "$pkgdir"/usr/lib/libc.so || return 1
+ mkdir -p "$pkgdir"/usr/bin || return 1
+ ln -sf ../../lib/"$LDSO" "$pkgdir"/usr/bin/ldd || return 1
# remove libintl.h, currently we don't want by default any NLS
# and use GNU gettext where needed. the plan is to migrate to
@@ -89,8 +91,8 @@ utils() {
replaces="libiconv uclibc-utils"
license="MIT BSD GPL2+"
- mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/sbin
- ln -sf ../../lib/"$LDSO" "$subpkgdir"/usr/bin/ldd || return 1
+ mkdir -p "$subpkgdir"/usr "$subpkgdir"/sbin
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ || return 1
install -D \
"$builddir"/getent \