diff --git a/srcpkgs/xbps-src-utils/template b/srcpkgs/xbps-src-utils/template index 58b3c9a065..9d26773f9d 100644 --- a/srcpkgs/xbps-src-utils/template +++ b/srcpkgs/xbps-src-utils/template @@ -1,9 +1,10 @@ # Template build file for 'xbps-src-utils'. pkgname=xbps-src-utils -version=20130221 +version=20130321 revision=1 homepage="https://github.com/davehome/xbps-src-utils" -makedepends="pkg-config flex libxbps-devel>=0.19" +depends="libxbps>=0.21" +makedepends="pkg-config flex libxbps-devel>=0.21" short_desc="Various tools for xbps-src in C (like repo-checkvers)" maintainer="davehome " license="Simplified BSD" @@ -30,7 +31,7 @@ do_fetch() { } do_configure() { - if [ -n "$XBPS_CROSS_TRIPLET" ]; then + if [ -n "$XBPS_CROSS_BUILD" ]; then _pcenv="env PKG_CONFIG_LIBDIR=/usr/$XBPS_CROSS_TRIPLET/lib/pkgconfig" fi ${_pcenv} ./configure --prefix=/usr --etcdir=/etc