Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 506062 | Differences between
and this patch

Collapse All | Expand All

(-)pkgconf-9999.ebuild (-5 / +16 lines)
Lines 2-14 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconf/pkgconf-9999.ebuild,v 1.12 2012/10/17 15:51:49 ryao Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconf/pkgconf-9999.ebuild,v 1.12 2012/10/17 15:51:49 ryao Exp $
4
4
5
EAPI="4"
5
EAPI=5
6
6
7
if [[ ${PV} == "9999" ]] ; then
7
if [[ ${PV} == "9999" ]] ; then
8
	EGIT_REPO_URI="git://github.com/pkgconf/pkgconf.git"
8
	EGIT_REPO_URI="git://github.com/pkgconf/pkgconf.git"
9
	inherit autotools git-2
9
	inherit autotools git-2 multilib-minimal
10
else
10
else
11
	inherit autotools vcs-snapshot
11
	inherit autotools multilib-minimal vcs-snapshot
12
	SRC_URI="https://github.com/pkgconf/pkgconf/tarball/${P} -> ${P}.tar.gz"
12
	SRC_URI="https://github.com/pkgconf/pkgconf/tarball/${P} -> ${P}.tar.gz"
13
	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
13
	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
14
fi
14
fi
Lines 28-42 Link Here
28
		!dev-util/pkgconfig-openbsd[pkg-config]
28
		!dev-util/pkgconfig-openbsd[pkg-config]
29
	)"
29
	)"
30
30
31
MULTILIB_CHOST_TOOLS=(
32
	/usr/bin/pkgconf
33
)
34
31
src_prepare() {
35
src_prepare() {
32
	[[ -e configure ]] || eautoreconf
36
	[[ -e configure ]] || eautoreconf
37
38
	if use pkg-config; then
39
		MULTILIB_CHOST_TOOLS+=(
40
			/usr/bin/pkg-config
41
		)
42
	fi
33
}
43
}
34
44
35
src_configure() {
45
multilib_src_configure() {
46
	ECONF_SOURCE=${S} \
36
	econf $(use_enable strict)
47
	econf $(use_enable strict)
37
}
48
}
38
49
39
src_install() {
50
multilib_src_install() {
40
	default
51
	default
41
	use pkg-config \
52
	use pkg-config \
42
		&& dosym pkgconf /usr/bin/pkg-config \
53
		&& dosym pkgconf /usr/bin/pkg-config \

Return to bug 506062