diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-01-13 17:18:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-01-13 17:18:05 +0000 |
commit | 0e573bd3ab7bdfe95d3f6d7e8d1389e684ddae22 (patch) | |
tree | f8c77b5be8f2a25368c338578b9897b01b22357d /sys-apps/hwloc | |
parent | Drop old. (diff) | |
download | gentoo-2-0e573bd3ab7bdfe95d3f6d7e8d1389e684ddae22.tar.gz gentoo-2-0e573bd3ab7bdfe95d3f6d7e8d1389e684ddae22.tar.bz2 gentoo-2-0e573bd3ab7bdfe95d3f6d7e8d1389e684ddae22.zip |
Use common tc-getPKG_CONFIG helper.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/hwloc')
-rw-r--r-- | sys-apps/hwloc/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/hwloc/hwloc-1.3.1.ebuild | 14 |
2 files changed, 10 insertions, 11 deletions
diff --git a/sys-apps/hwloc/ChangeLog b/sys-apps/hwloc/ChangeLog index 9346678cb8af..b4848e7d6f88 100644 --- a/sys-apps/hwloc/ChangeLog +++ b/sys-apps/hwloc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/hwloc -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwloc/ChangeLog,v 1.18 2011/12/21 11:14:15 xarthisius Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwloc/ChangeLog,v 1.19 2012/01/13 17:18:05 vapier Exp $ + + 13 Jan 2012; Mike Frysinger <vapier@gentoo.org> hwloc-1.3.1.ebuild: + Use common tc-getPKG_CONFIG helper. *hwloc-1.3.1 (21 Dec 2011) diff --git a/sys-apps/hwloc/hwloc-1.3.1.ebuild b/sys-apps/hwloc/hwloc-1.3.1.ebuild index 0cc06a4f9383..d1be0dfe8181 100644 --- a/sys-apps/hwloc/hwloc-1.3.1.ebuild +++ b/sys-apps/hwloc/hwloc-1.3.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwloc/hwloc-1.3.1.ebuild,v 1.1 2011/12/21 11:14:15 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwloc/hwloc-1.3.1.ebuild,v 1.2 2012/01/13 17:18:05 vapier Exp $ EAPI=4 @@ -12,10 +12,10 @@ DESCRIPTION="displays the hardware topology in convenient formats" HOMEPAGE="http://www.open-mpi.org/projects/hwloc/" SRC_URI="http://www.open-mpi.org/software/${PN}/${MY_PV}/downloads/${P}.tar.bz2" +LICENSE="BSD" +SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux" IUSE="cairo debug +numa +pci svg static-libs xml X" -SLOT="0" -LICENSE="BSD" RDEPEND="sys-libs/ncurses cairo? ( x11-libs/cairo[X?,svg?] ) @@ -27,12 +27,8 @@ DEPEND="${RDEPEND} DOCS=( AUTHORS NEWS README VERSION ) -pkg_setup() { - # Fix bug #393467, hwloc ignores PKG_CONFIG environment variable. - [[ ${PKG_CONFIG} ]] && export HWLOC_PKG_CONFIG=${PKG_CONFIG} -} - src_configure() { + export HWLOC_PKG_CONFIG=$(tc-getPKG_CONFIG) #393467 econf \ --docdir="${EPREFIX}"/usr/share/doc/${PF} \ $(use_enable cairo) \ |