From 2a7cd8df158c1c5a52dadb1d5f63528c789b6e1f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 21 Mar 2013 00:02:39 +0100 Subject: [PATCH] xbps-src-utils: update to today's git; works with xbps>=0.21. --- srcpkgs/xbps-src-utils/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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