chroot-glibc: switch to /usr.
This commit is contained in:
parent
60d5c45863
commit
b2edbe17c5
1 changed files with 8 additions and 4 deletions
|
@ -3,7 +3,7 @@ pkgname=chroot-glibc
|
|||
_majorver=2.16
|
||||
version=${_majorver}.0
|
||||
wrksrc="glibc-${version}"
|
||||
revision=2
|
||||
revision=3
|
||||
short_desc="The GNU C library -- for xbps-src use"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.gnu.org/software/libc"
|
||||
|
@ -32,10 +32,10 @@ if [ -n "$IN_CHROOT" ]; then
|
|||
fi
|
||||
|
||||
do_configure() {
|
||||
local cflags
|
||||
|
||||
mkdir build && cd build
|
||||
echo "slibdir=/lib" > configparms
|
||||
echo "slibdir=/usr/lib" > configparms
|
||||
echo "bindir=/usr/bin" >> configparms
|
||||
echo "sbindir=/usr/sbin" >> configparms
|
||||
|
||||
# Build with -mno-tls-direct-seg-refs to avoid performance problems
|
||||
# with Xen on x86 32bit.
|
||||
|
@ -82,4 +82,8 @@ do_install() {
|
|||
|
||||
# Remove unused stuff.
|
||||
rm -rf ${DESTDIR}/usr/share
|
||||
|
||||
# Switch to /usr.
|
||||
vmkdir usr/sbin
|
||||
vmove "sbin/*" usr/sbin
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue