mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
coreutils: really disable -doc subpkgs in cross bulds.
This commit is contained in:
parent
d7d25b1c76
commit
5d97049798
1 changed files with 4 additions and 4 deletions
|
@ -17,10 +17,6 @@ if [ "$CHROOT_READY" ]; then
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
subpackages="coreutils-doc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
configure_args+=" fu_cv_sys_stat_statfs2_bsize=yes
|
configure_args+=" fu_cv_sys_stat_statfs2_bsize=yes
|
||||||
|
@ -61,6 +57,8 @@ do_install() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
|
||||||
coreutils-doc_package() {
|
coreutils-doc_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
short_desc+=" - documentation files"
|
short_desc+=" - documentation files"
|
||||||
|
@ -70,3 +68,5 @@ coreutils-doc_package() {
|
||||||
vmove usr/share/man
|
vmove usr/share/man
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue