binutils: fix subpackages without CHROOT_READY
This commit is contained in:
parent
46748f4f45
commit
f6af10a8a7
1 changed files with 3 additions and 2 deletions
|
@ -3,6 +3,7 @@ pkgname=binutils
|
|||
version=2.35.1
|
||||
revision=4
|
||||
bootstrap=yes
|
||||
makedepends="zlib-devel"
|
||||
short_desc="GNU binary utilities"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
|
@ -11,13 +12,13 @@ distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
|
|||
checksum=3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
|
||||
patch_args="-Np1"
|
||||
|
||||
makedepends="zlib-devel"
|
||||
subpackages="binutils-doc"
|
||||
if [ "$CHROOT_READY" ]; then
|
||||
hostmakedepends="flex perl texinfo"
|
||||
makedepends+=" elfutils-devel"
|
||||
checkdepends="bc"
|
||||
depends="binutils-doc"
|
||||
subpackages="binutils-devel binutils-doc"
|
||||
subpackages+=" binutils-devel"
|
||||
fi
|
||||
|
||||
_get_triplet() {
|
||||
|
|
Loading…
Reference in a new issue