xbps: fix bootstrap build and remove obsolete stuff.
This commit is contained in:
parent
11a6f8a681
commit
1324f601f1
1 changed files with 2 additions and 4 deletions
|
@ -12,10 +12,7 @@ license="2-clause-BSD"
|
||||||
makedepends="zlib-devel libressl-devel libarchive-devel"
|
makedepends="zlib-devel libressl-devel libarchive-devel"
|
||||||
depends="xbps-triggers"
|
depends="xbps-triggers"
|
||||||
|
|
||||||
if [ -z "$CHROOT_READY" ]; then
|
if [ "$CHROOT_READY" ]; then
|
||||||
CFLAGS+=" -idirafter ${XBPS_MASTERDIR}/usr/include"
|
|
||||||
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib"
|
|
||||||
else
|
|
||||||
hostmakedepends="git pkg-config"
|
hostmakedepends="git pkg-config"
|
||||||
makedepends+=" atf-devel"
|
makedepends+=" atf-devel"
|
||||||
xbps-tests_package() {
|
xbps-tests_package() {
|
||||||
|
@ -31,6 +28,7 @@ do_fetch() {
|
||||||
git clone -b${version} git://github.com/voidlinux/xbps ${wrksrc}
|
git clone -b${version} git://github.com/voidlinux/xbps ${wrksrc}
|
||||||
}
|
}
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
CFLAGS+=" -Wno-error=redundant-decls"
|
||||||
HAVE_VASPRINTF=1 ./configure --prefix=/usr --sysconfdir=/etc --enable-debug \
|
HAVE_VASPRINTF=1 ./configure --prefix=/usr --sysconfdir=/etc --enable-debug \
|
||||||
${CHROOT_READY:+--enable-tests}
|
${CHROOT_READY:+--enable-tests}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue