mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
chroot-texinfo: make this build in native builds.
This commit is contained in:
parent
d0c4b561f4
commit
31ebe608ea
1 changed files with 10 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue