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.6.1.ebuild (-9 / +16 lines)
Lines 2-8 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-libs/glib/glib-2.6.1.ebuild,v 1.2 2005/01/28 02:12:21 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.6.1.ebuild,v 1.2 2005/01/28 02:12:21 vapier Exp $
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-35 SRC_URI="ftp://ftp.gtk.org/pub/gtk/v2.6/ 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 static"
14
IUSE="doc static 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
RDEPEND="virtual/libc"
20
RDEPEND="virtual/libc"
20
21
21
src_compile() {
22
src_unpack() {
23
	unpack ${A}
24
	cd ${S}
25
26
	# patches
27
	epatch ${FILESDIR}/glib-2.4.6-config.patch
28
	epatch ${FILESDIR}/glib-2.4.6-no_iconv.patch
22
29
23
	if use ppc-macos; then
30
	use ppc-macos && glibtoolize
24
		glibtoolize
31
	use uclibc && autoconf
25
#	else
32
}
26
#		elibtoolize
27
	fi
28
33
34
src_compile() {
29
	econf \
35
	econf \
30
		--with-threads=posix \
36
		--with-threads=posix \
31
		`use_enable static` \
37
		`use_enable static` \
32
		`use_enable doc gtk-doc` \
38
		`use_enable doc gtk-doc` \
39
		`use uclibc >/dev/null && echo --with-libiconv=no` \
33
		|| die
40
		|| die
34
41
35
	emake || die
42
	emake || die

Return to bug 80110