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
|
version=2.35.1
|
||||||
revision=4
|
revision=4
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
makedepends="zlib-devel"
|
||||||
short_desc="GNU binary utilities"
|
short_desc="GNU binary utilities"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
|
@ -11,13 +12,13 @@ distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
|
||||||
checksum=3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
|
checksum=3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
|
|
||||||
makedepends="zlib-devel"
|
subpackages="binutils-doc"
|
||||||
if [ "$CHROOT_READY" ]; then
|
if [ "$CHROOT_READY" ]; then
|
||||||
hostmakedepends="flex perl texinfo"
|
hostmakedepends="flex perl texinfo"
|
||||||
makedepends+=" elfutils-devel"
|
makedepends+=" elfutils-devel"
|
||||||
checkdepends="bc"
|
checkdepends="bc"
|
||||||
depends="binutils-doc"
|
depends="binutils-doc"
|
||||||
subpackages="binutils-devel binutils-doc"
|
subpackages+=" binutils-devel"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_get_triplet() {
|
_get_triplet() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue