chroot-coreutils: fix cp(1) -a with musl and probably others.
This commit is contained in:
parent
b809410bb6
commit
0b21224b0b
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'chroot-coreutils'
|
# Template file for 'chroot-coreutils'
|
||||||
pkgname=chroot-coreutils
|
pkgname=chroot-coreutils
|
||||||
version=8.22
|
version=8.22
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname/chroot-}-${version}"
|
wrksrc="${pkgname/chroot-}-${version}"
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
provides="coreutils-${version}_${revision}"
|
provides="coreutils-${version}_${revision}"
|
||||||
|
@ -18,6 +18,10 @@ license="GPL-3"
|
||||||
distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz"
|
distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz"
|
||||||
checksum=5b3e94998152c017e6c75d56b9b994188eb71bf46d4038a642cb9141f6ff1212
|
checksum=5b3e94998152c017e6c75d56b9b994188eb71bf46d4038a642cb9141f6ff1212
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) CFLAGS+=" -DSLOW_BUT_NO_HACKS";;
|
||||||
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/lib
|
rm -rf ${DESTDIR}/usr/lib
|
||||||
rm -rf ${DESTDIR}/usr/share
|
rm -rf ${DESTDIR}/usr/share
|
||||||
|
|
Loading…
Reference in New Issue