summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2006-05-08 01:54:22 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2006-05-08 01:54:22 +0000
commit8ae098c6d45db7bc0f668544cdd28e8bf3709c91 (patch)
tree612b2c5d07ddcc3b0931e1b7cdaf5de821254b29 /gnome-base/libgtop
parentUnmask bmpx 0.14 since glib 2.10 is now unmasked with gnome 2.14 (diff)
downloadgentoo-2-8ae098c6d45db7bc0f668544cdd28e8bf3709c91.tar.gz
gentoo-2-8ae098c6d45db7bc0f668544cdd28e8bf3709c91.tar.bz2
gentoo-2-8ae098c6d45db7bc0f668544cdd28e8bf3709c91.zip
Fix --as-needed. Bug #132155
(Portage version: 2.1_pre10-r3)
Diffstat (limited to 'gnome-base/libgtop')
-rw-r--r--gnome-base/libgtop/ChangeLog6
-rw-r--r--gnome-base/libgtop/files/libgtop-2.14.1-as-needed.patch14
-rw-r--r--gnome-base/libgtop/libgtop-2.14.1.ebuild11
3 files changed, 28 insertions, 3 deletions
diff --git a/gnome-base/libgtop/ChangeLog b/gnome-base/libgtop/ChangeLog
index 8ff5ff44a882..5e28eafea995 100644
--- a/gnome-base/libgtop/ChangeLog
+++ b/gnome-base/libgtop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnome-base/libgtop
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgtop/ChangeLog,v 1.119 2006/05/02 15:45:08 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgtop/ChangeLog,v 1.120 2006/05/08 01:54:22 dang Exp $
+
+ 08 May 2006; <dang@gentoo.org> +files/libgtop-2.14.1-as-needed.patch,
+ libgtop-2.14.1.ebuild:
+ Fix --as-needed. Bug #132155
*libgtop-2.14.1 (02 May 2006)
diff --git a/gnome-base/libgtop/files/libgtop-2.14.1-as-needed.patch b/gnome-base/libgtop/files/libgtop-2.14.1-as-needed.patch
new file mode 100644
index 000000000000..2949c36dcb50
--- /dev/null
+++ b/gnome-base/libgtop/files/libgtop-2.14.1-as-needed.patch
@@ -0,0 +1,14 @@
+diff --exclude-from=/home/dang/.diffrc -u -ruN libgtop-2.14.1.orig/src/inodedb/Makefile.am libgtop-2.14.1/src/inodedb/Makefile.am
+--- libgtop-2.14.1.orig/src/inodedb/Makefile.am 2003-10-20 16:47:58.000000000 -0400
++++ libgtop-2.14.1/src/inodedb/Makefile.am 2006-05-07 21:50:30.000000000 -0400
+@@ -2,8 +2,8 @@
+
+ INCLUDES = @INCLUDES@
+
+-mkinodedb2_LDADD = $(top_builddir)/lib/libgtop-2.0.la \
+- $(top_builddir)/sysdeps/common/libgtop_common-2.0.la \
++mkinodedb2_LDADD = $(top_builddir)/sysdeps/common/libgtop_common-2.0.la \
++ $(top_builddir)/lib/libgtop-2.0.la \
+ $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la
+
+ file_by_inode2_LDADD = $(top_builddir)/lib/libgtop-2.0.la \
diff --git a/gnome-base/libgtop/libgtop-2.14.1.ebuild b/gnome-base/libgtop/libgtop-2.14.1.ebuild
index 3d86c5fa31b5..ffa5b5dca419 100644
--- a/gnome-base/libgtop/libgtop-2.14.1.ebuild
+++ b/gnome-base/libgtop/libgtop-2.14.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgtop/libgtop-2.14.1.ebuild,v 1.1 2006/05/02 15:45:08 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgtop/libgtop-2.14.1.ebuild,v 1.2 2006/05/08 01:54:22 dang Exp $
-inherit gnome2
+inherit gnome2 eutils autotools
DESCRIPTION="A library that provides top functionality to applications"
HOMEPAGE="http://www.gnome.org/"
@@ -21,6 +21,13 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS ChangeLog NEWS README copyright.txt"
+src_unpack() {
+ gnome2_src_unpack
+
+ epatch ${FILESDIR}/${P}-as-needed.patch
+ eautoreconf
+}
+
pkg_setup() {
G2CONF="${G2CONF} $(use_enable static) $(use_with gdbm libgtop-inodedb) \
$(use_with X x)"