chroot-texinfo: make this build in native builds.
This commit is contained in:
parent
d0c4b561f4
commit
31ebe608ea
|
@ -14,12 +14,21 @@ bootstrap=yes
|
||||||
conflicts="texinfo>=0"
|
conflicts="texinfo>=0"
|
||||||
provides="texinfo-${version}"
|
provides="texinfo-${version}"
|
||||||
|
|
||||||
|
if [ -n "$IN_CHROOT" ]; then
|
||||||
|
makedepends="ncurses-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --disable-nls
|
./configure ${CONFIGURE_SHARED_ARGS} --disable-nls
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs} -C tools/gnulib/lib && make ${makejobs} -C tools && make ${makejobs}
|
if [ -d tools ]; then
|
||||||
|
make ${makejobs} -C tools/gnulib/lib && \
|
||||||
|
make ${makejobs} -C tools && make ${makejobs}
|
||||||
|
else
|
||||||
|
make ${makejobs}
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in New Issue