summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/glib')
-rw-r--r--dev-libs/glib/ChangeLog5
-rw-r--r--dev-libs/glib/glib-1.2.10-r5.ebuild11
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-libs/glib/ChangeLog b/dev-libs/glib/ChangeLog
index 31c642dad07f..ff9f3dba92ae 100644
--- a/dev-libs/glib/ChangeLog
+++ b/dev-libs/glib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/glib
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.134 2005/04/07 01:46:02 dostrow Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.135 2005/04/07 04:42:23 dostrow Exp $
+
+ 07 Apr 2005; Daniel Ostrow <dostrow@gentoo.org> glib-1.2.10-r5.ebuild:
+ More hardened ppc64 stuff.
06 Apr 2005; Daniel Ostrow <dostrow@gentoo.org> glib-2.6.3.ebuild:
Patches for ppc64 hardened
diff --git a/dev-libs/glib/glib-1.2.10-r5.ebuild b/dev-libs/glib/glib-1.2.10-r5.ebuild
index 29c114a0ed6b..2f496db8fc32 100644
--- a/dev-libs/glib/glib-1.2.10-r5.ebuild
+++ b/dev-libs/glib/glib-1.2.10-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 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.39 2005/02/02 21:46:24 j4rg0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-1.2.10-r5.ebuild,v 1.40 2005/04/07 04:42:23 dostrow Exp $
inherit libtool flag-o-matic eutils gnuconfig
@@ -12,7 +12,7 @@ SRC_URI="ftp://ftp.gtk.org/pub/gtk/v1.2/${P}.tar.gz
LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 ppc-macos s390 sh sparc x86"
-IUSE=""
+IUSE="hardened"
DEPEND="virtual/libc"
@@ -30,6 +30,13 @@ src_unpack() {
darwintoolize
gnuconfig_update
fi
+
+ if use ppc64 && use hardened; then
+ replace-flags -O[2-3] -O1
+ fi
+
+ append-ldflags -ldl
+
}
src_compile() {