musl: create a xbps.d(5) architecture override conf file.

This commit is contained in:
Juan RP 2014-12-29 17:52:59 +01:00
parent 41f791af01
commit e33b2e9af6
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'musl'. # Template file for 'musl'.
pkgname=musl pkgname=musl
version=1.1.5 version=1.1.5
revision=6 revision=7
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,4 +34,8 @@ do_install() {
vbin getconf vbin getconf
vman ${FILESDIR}/getconf.1 vman ${FILESDIR}/getconf.1
vbin ${FILESDIR}/ldconfig vbin ${FILESDIR}/ldconfig
# Create xbps.d(5) arch override file
vmkdir usr/share/xbps.d
echo "architecture=${XBPS_TARGET_MACHINE}-musl" > ${DESTDIR}/usr/share/xbps.d/musl-arch.conf
} }