diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2007-02-03 08:34:21 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2007-02-03 08:34:21 +0000 |
commit | 3f6ef098e8d211f8777cfe8ced201df6bb36a113 (patch) | |
tree | 8c1428390bae762d3f732dc34c58575083c0985e /dev-libs/glib/glib-1.2.10-r5.ebuild | |
parent | Fixed mistaken variable name (bug #157514). (diff) | |
download | historical-3f6ef098e8d211f8777cfe8ced201df6bb36a113.tar.gz historical-3f6ef098e8d211f8777cfe8ced201df6bb36a113.tar.bz2 historical-3f6ef098e8d211f8777cfe8ced201df6bb36a113.zip |
patch for as-needed
Package-Manager: portage-2.1.2-r6
Diffstat (limited to 'dev-libs/glib/glib-1.2.10-r5.ebuild')
-rw-r--r-- | dev-libs/glib/glib-1.2.10-r5.ebuild | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/dev-libs/glib/glib-1.2.10-r5.ebuild b/dev-libs/glib/glib-1.2.10-r5.ebuild index f21b597fcd51..b6f1df15aff5 100644 --- a/dev-libs/glib/glib-1.2.10-r5.ebuild +++ b/dev-libs/glib/glib-1.2.10-r5.ebuild @@ -1,13 +1,16 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-1.2.10-r5.ebuild,v 1.48 2006/11/03 15:04:21 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-1.2.10-r5.ebuild,v 1.49 2007/02/03 08:34:21 compnerd Exp $ -inherit libtool flag-o-matic eutils portability +WANT_AUTOMAKE="1.4" + +inherit autotools libtool flag-o-matic eutils portability DESCRIPTION="The GLib library of C routines" HOMEPAGE="http://www.gtk.org/" SRC_URI="ftp://ftp.gtk.org/pub/gtk/v1.2/${P}.tar.gz - ftp://ftp.gnome.org/pub/GNOME/stable/sources/glib/${P}.tar.gz" + ftp://ftp.gnome.org/pub/GNOME/stable/sources/glib/${P}.tar.gz + mirror://gentoo/glib-1.2.10-as-needed.patch.bz2" LICENSE="LGPL-2.1" SLOT="1" @@ -26,9 +29,14 @@ src_unpack() { # Allow glib to build with gcc-3.4.x #47047 epatch "${FILESDIR}"/${P}-gcc34-fix.patch - elibtoolize + # Fix for -Wl,--as-needed (bug #133818) + epatch "${DISTDIR}"/glib-1.2.10-as-needed.patch.bz2 + use ppc64 && use hardened && replace-flags -O[2-3] -O1 append-ldflags $(dlopen_lib) + + eautoreconf + elibtoolize } src_compile() { |