xbps: repair cross builds.
This commit is contained in:
parent
8bb528b4fc
commit
da8d6bb825
|
@ -6,9 +6,6 @@ patch_args="-Np1"
|
|||
bootstrap=yes
|
||||
conf_files="/etc/xbps/xbps.conf"
|
||||
replaces="xbps>=0"
|
||||
build_style=configure
|
||||
configure_script="env HAVE_VASPRINTF=1 ./configure"
|
||||
configure_args="--prefix=/usr --sysconfdir=/etc --enable-static --enable-debug"
|
||||
makedepends="zlib-devel openssl-devel libarchive-devel>=3.1.2 confuse-devel"
|
||||
depends="xbps-triggers"
|
||||
short_desc="The XBPS package system utilities"
|
||||
|
@ -22,7 +19,6 @@ if [ -z "$CHROOT_READY" ]; then
|
|||
else
|
||||
hostmakedepends="which pkg-config"
|
||||
makedepends+=" atf-devel"
|
||||
configure_args+=" --enable-tests"
|
||||
|
||||
xbps-tests_package() {
|
||||
short_desc+=" - Kyua testsuite"
|
||||
|
@ -38,6 +34,21 @@ do_fetch() {
|
|||
git clone -b${version} git://github.com/voidlinux/xbps.git xbps-${version}
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
if [ "$CHROOT_READY" ]; then
|
||||
_args="--enable-tests"
|
||||
fi
|
||||
HAVE_VASPRINTF=1 ./configure --prefix=/usr --sysconfdir=/etc --enable-static --enable-debug ${_args}
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make DESTDIR=${DESTDIR} install
|
||||
}
|
||||
|
||||
libxbps_package() {
|
||||
short_desc+=" - runtime library"
|
||||
replaces="xbps<0.16.3_2 libxbps>=0"
|
||||
|
|
Loading…
Reference in New Issue