summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2009-01-14 15:02:21 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2009-01-14 15:02:21 +0000
commit190f83e25b2f757a7bb4fe60fe9894723df5b2a6 (patch)
treef87747ef61d68c08cd8daa1e16bde013c75aaa92 /x11-plugins/wmrecord
parentDrop KDE 4.1.2 and 4.1.3 (diff)
downloadgentoo-2-190f83e25b2f757a7bb4fe60fe9894723df5b2a6.tar.gz
gentoo-2-190f83e25b2f757a7bb4fe60fe9894723df5b2a6.tar.bz2
gentoo-2-190f83e25b2f757a7bb4fe60fe9894723df5b2a6.zip
Prevent auto-stripping of binaries. Closes bug #252112.
(Portage version: 2.1.6.4/cvs/Linux 2.6.24-tuxonice-r9 i686)
Diffstat (limited to 'x11-plugins/wmrecord')
-rw-r--r--x11-plugins/wmrecord/ChangeLog5
-rw-r--r--x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild14
2 files changed, 15 insertions, 4 deletions
diff --git a/x11-plugins/wmrecord/ChangeLog b/x11-plugins/wmrecord/ChangeLog
index 175325d4a6ee..892c6f7c0e96 100644
--- a/x11-plugins/wmrecord/ChangeLog
+++ b/x11-plugins/wmrecord/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-plugins/wmrecord
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmrecord/ChangeLog,v 1.8 2007/07/22 04:34:46 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmrecord/ChangeLog,v 1.9 2009/01/14 15:02:21 s4t4n Exp $
+
+ 14 Jan 2009; Michele Noberasco <s4t4n@gentoo.org>; wmrecord-1.0.5.3-r1.ebuild:
+ Prevent auto-stripping of binaries. Closes bug #252112.
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>;
wmrecord-1.0.5.3-r1.ebuild:
diff --git a/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild b/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild
index 8053e0aebfd0..060ff266fae0 100644
--- a/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild
+++ b/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild,v 1.5 2008/06/29 13:28:39 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild,v 1.6 2009/01/14 15:02:21 s4t4n Exp $
IUSE=""
@@ -12,7 +12,8 @@ RDEPEND="x11-libs/libX11
x11-libs/libXext
x11-libs/libXpm"
DEPEND="${RDEPEND}
- x11-proto/xextproto"
+ x11-proto/xextproto
+ >=sys-apps/sed-4.1.5-r1"
SLOT="0"
LICENSE="GPL-2"
@@ -20,6 +21,13 @@ KEYWORDS="x86 ~ppc"
S=${WORKDIR}/${PN}-1.0.5
+src_unpack() {
+ unpack ${A}
+
+ #prevent auto-stripping of binaries. Closes bug #252112
+ sed -i 's/install -s -o/install -o/' "${S}/Makefile"
+}
+
src_compile() {
emake CFLAGS="${CFLAGS} -Wall" || die "make failed"
}