musl: remove broken ldconfig; needs pax-utils (scanelf).
This commit is contained in:
parent
afd9762de0
commit
d9bd784cd0
2 changed files with 1 additions and 20 deletions
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
scan_dirs() {
|
||||
scanelf -qS "$@" | while read SONAME FILE; do
|
||||
TARGET="${FILE##*/}"
|
||||
LINK="${FILE%/*}/$SONAME"
|
||||
case "$FILE" in
|
||||
/lib/*|/usr/lib/*|/usr/local/lib/*) ;;
|
||||
*) [ -h "$LINK" -o ! -e "$LINK" ] && ln -sf "$TARGET" "$LINK"
|
||||
esac
|
||||
done
|
||||
return 0
|
||||
}
|
||||
# eat ldconfig options
|
||||
while getopts "nNvXvf:C:r:" opt; do
|
||||
:
|
||||
done
|
||||
shift $(( $OPTIND - 1 ))
|
||||
[ $# -gt 0 ] && scan_dirs "$@"
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'musl'.
|
||||
pkgname=musl
|
||||
version=1.1.8
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--prefix=/usr --disable-gcc-wrapper"
|
||||
conflicts="glibc>=0"
|
||||
|
@ -34,7 +34,6 @@ do_install() {
|
|||
vman ${FILESDIR}/getent.1
|
||||
vbin getconf
|
||||
vman ${FILESDIR}/getconf.1
|
||||
vbin ${FILESDIR}/ldconfig
|
||||
# Create xbps.d(5) arch override file
|
||||
vmkdir usr/share/xbps.d
|
||||
echo "architecture=${XBPS_TARGET_MACHINE}" > ${DESTDIR}/usr/share/xbps.d/musl-arch.conf
|
||||
|
|
Loading…
Reference in a new issue