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-1.2.10-r5.ebuild,v 1.46 2006/04/12 14:38:47 flameeyes Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-1.2.10-r5.ebuild,v 1.46 2006/04/12 14:38:47 flameeyes Exp $ |
4 |
|
4 |
|
5 |
inherit libtool flag-o-matic eutils portability |
5 |
inherit libtool flag-o-matic eutils portability autotools gnuconfig |
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 24-33
Link Here
|
24 |
|
24 |
|
25 |
# Allow glib to build with gcc-3.4.x #47047 |
25 |
# Allow glib to build with gcc-3.4.x #47047 |
26 |
epatch "${FILESDIR}"/${P}-gcc34-fix.patch |
26 |
epatch "${FILESDIR}"/${P}-gcc34-fix.patch |
27 |
|
27 |
epatch "${FILESDIR}"/${P}-as-needed.patch |
28 |
elibtoolize |
|
|
29 |
use ppc64 && use hardened && replace-flags -O[2-3] -O1 |
28 |
use ppc64 && use hardened && replace-flags -O[2-3] -O1 |
30 |
append-ldflags $(dlopen_lib) |
29 |
append-ldflags $(dlopen_lib) |
|
|
30 |
_elibtoolize --copy --force || die |
31 |
elibtoolize # Should I be running this before or after _elibtoolize? |
31 |
} |
32 |
} |
32 |
|
33 |
|
33 |
src_compile() { |
34 |
src_compile() { |