musl: remove broken ldconfig; needs pax-utils (scanelf).

This commit is contained in:
Juan RP 2015-04-21 10:55:20 +02:00
parent afd9762de0
commit d9bd784cd0
2 changed files with 1 additions and 20 deletions

View file

@ -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 "$@"

View file

@ -1,7 +1,7 @@
# Template file for 'musl'. # Template file for 'musl'.
pkgname=musl pkgname=musl
version=1.1.8 version=1.1.8
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--prefix=/usr --disable-gcc-wrapper" configure_args="--prefix=/usr --disable-gcc-wrapper"
conflicts="glibc>=0" conflicts="glibc>=0"
@ -34,7 +34,6 @@ do_install() {
vman ${FILESDIR}/getent.1 vman ${FILESDIR}/getent.1
vbin getconf vbin getconf
vman ${FILESDIR}/getconf.1 vman ${FILESDIR}/getconf.1
vbin ${FILESDIR}/ldconfig
# Create xbps.d(5) arch override file # Create xbps.d(5) arch override file
vmkdir usr/share/xbps.d vmkdir usr/share/xbps.d
echo "architecture=${XBPS_TARGET_MACHINE}" > ${DESTDIR}/usr/share/xbps.d/musl-arch.conf echo "architecture=${XBPS_TARGET_MACHINE}" > ${DESTDIR}/usr/share/xbps.d/musl-arch.conf