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

Collapse All | Expand All

(-)glib-2.4.8.ebuild (-6 / +17 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2005 Gentoo Foundation
1
# Copyright 1999-2005 Gentoo Foundation
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-libs/glib/glib-2.4.8.ebuild,v 1.9 2005/01/28 02:12:21 vapier Exp $
3
# $Header: $
4
4
5
inherit libtool
5
inherit libtool eutils
6
6
7
DESCRIPTION="The GLib library of C routines"
7
DESCRIPTION="The GLib library of C routines"
8
HOMEPAGE="http://www.gtk.org/"
8
HOMEPAGE="http://www.gtk.org/"
Lines 11-36 SRC_URI="ftp://ftp.gtk.org/pub/gtk/v2.4/ Link Here
11
LICENSE="LGPL-2"
11
LICENSE="LGPL-2"
12
SLOT="2"
12
SLOT="2"
13
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 ~ppc-macos s390 sparc x86"
13
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 ~ppc-macos s390 sparc x86"
14
IUSE="doc"
14
IUSE="doc uclibc"
15
15
16
DEPEND=">=dev-util/pkgconfig-0.14
16
DEPEND=">=dev-util/pkgconfig-0.14
17
	>=sys-devel/gettext-0.11
17
	uclibc( sys-devel/autoconf )
18
	!uclibc? ( >=sys-devel/gettext-0.11 )
18
	doc? ( >=dev-util/gtk-doc-1 )"
19
	doc? ( >=dev-util/gtk-doc-1 )"
19
20
20
RDEPEND="virtual/libc"
21
RDEPEND="virtual/libc"
21
22
22
src_compile() {
23
src_unpack() {
24
	unpack ${A}
25
	cd ${S}
26
27
	# patches
28
	epatch ${FILESDIR}/glib-2.4.6-config.patch
29
	epatch ${FILESDIR}/glib-2.4.6-no_iconv.patch
23
30
24
	if use ppc-macos; then
31
	if use ppc-macos; then
25
		glibtoolize
32
		glibtoolize
26
	else
33
	else
27
		elibtoolize
34
		elibtoolize
28
	fi
35
	fi
36
	use uclibc && autoconf
37
}
29
38
39
src_compile() {
40
	use uclibc && myconf="--with-libiconv=no"
30
	econf \
41
	econf \
31
		--with-threads=posix \
42
		--with-threads=posix \
32
		`use_enable doc gtk-doc` \
43
		`use_enable doc gtk-doc` \
33
		|| die
44
		${myconf} || die
34
45
35
	emake || die
46
	emake || die
36
47

Return to bug 80110