From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NCPgV-0004a1-Vc for garchives@archives.gentoo.org; Mon, 23 Nov 2009 03:33:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 810F9E079E; Mon, 23 Nov 2009 03:33:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5D493E079E for ; Mon, 23 Nov 2009 03:33:51 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 0C32967ECA for ; Mon, 23 Nov 2009 03:33:51 +0000 (UTC) Received: from vapier by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1NCPgU-00056P-KU for gentoo-commits@lists.gentoo.org; Mon, 23 Nov 2009 03:33:50 +0000 From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-projects commit in crossdev-wrappers: cross-pkg-config X-VCS-Repository: gentoo-projects X-VCS-Files: cross-pkg-config X-VCS-Directories: crossdev-wrappers X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: Sender: Mike Frysinger Date: Mon, 23 Nov 2009 03:33:50 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 026aef89-6cc6-41e2-b3e4-12cee68e2dae X-Archives-Hash: c52be335f36ad125fc73647968345a10 vapier 09/11/23 03:33:50 Modified: cross-pkg-config Log: cross-pkg-config: add pkg-config sanity checks Revision Changes Path 1.3 crossdev-wrappers/cross-pkg-config file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/crossdev-wrap= pers/cross-pkg-config?rev=3D1.3&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/crossdev-wrap= pers/cross-pkg-config?rev=3D1.3&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/crossdev-wrap= pers/cross-pkg-config?r1=3D1.2&r2=3D1.3 Index: cross-pkg-config =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-projects/crossdev-wrappers/cross-pkg-config= ,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- cross-pkg-config 23 Nov 2009 03:33:03 -0000 1.2 +++ cross-pkg-config 23 Nov 2009 03:33:50 -0000 1.3 @@ -1,7 +1,7 @@ #!/bin/sh # Copyright 2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-projects/crossdev-wrappers/cross-pkg-conf= ig,v 1.2 2009/11/23 03:33:03 vapier Exp $ +# $Header: /var/cvsroot/gentoo-projects/crossdev-wrappers/cross-pkg-conf= ig,v 1.3 2009/11/23 03:33:50 vapier Exp $ =20 # # This creates a pkg-config frontend that has the form TARGET-pkg-config @@ -24,6 +24,14 @@ # # Sanity/distro checks # +if ver=3D$(pkg-config --version) ; then + if [ ${ver#0.1} !=3D ${ver} ] ; then + error pkg-config is too old ... upgrade it + fi +else + error unable to find pkg-config in PATH +fi + unset EXTRA_PKG_CONFIG_LIBDIR if [ -n "${ROOT}" ] ; then # Gentoo