summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-11-27 21:31:29 +0000
committerMike Frysinger <vapier@gentoo.org>2009-11-27 21:31:29 +0000
commit05a77917da1f48b6dd402522c8b1c2ddf404b032 (patch)
tree70fb75399d0c993ab6d8a14b41cc710dcdf8fcb4 /eclass
parentVersion bump to 1.15.5.3 (diff)
downloadgentoo-2-05a77917da1f48b6dd402522c8b1c2ddf404b032.tar.gz
gentoo-2-05a77917da1f48b6dd402522c8b1c2ddf404b032.tar.bz2
gentoo-2-05a77917da1f48b6dd402522c8b1c2ddf404b032.zip
start a tc-get helper for pkg-config
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-funcs.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index 7b5738b815b4..d7457803eb61 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.95 2009/09/02 20:08:31 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.96 2009/11/27 21:31:29 vapier Exp $
# @ECLASS: toolchain-funcs.eclass
# @MAINTAINER:
@@ -88,6 +88,10 @@ tc-getFC() { tc-getPROG FC gfortran "$@"; }
# @USAGE: [toolchain prefix]
# @RETURN: name of the java compiler
tc-getGCJ() { tc-getPROG GCJ gcj "$@"; }
+# @FUNCTION: tc-getPKG_CONFIG
+# @USAGE: [toolchain prefix]
+# @RETURN: name of the pkg-config tool
+tc-getPKG_CONFIG() { tc-getPROG PKG_CONFIG pkg-config "$@"; }
# @FUNCTION: tc-getBUILD_CC
# @USAGE: [toolchain prefix]