summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2009-01-14 15:54:35 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2009-01-14 15:54:35 +0000
commit7ced0bf7ec2937f8d65625a15a8aafd523e1e9cc (patch)
tree1f7bdf633029fc5446c6a7c01188c78991ffb3e2 /x11-plugins/wmlaptop/wmlaptop-1.3.ebuild
parentDrop KDE 4.1.2 and 4.1.3 (diff)
downloadgentoo-2-7ced0bf7ec2937f8d65625a15a8aafd523e1e9cc.tar.gz
gentoo-2-7ced0bf7ec2937f8d65625a15a8aafd523e1e9cc.tar.bz2
gentoo-2-7ced0bf7ec2937f8d65625a15a8aafd523e1e9cc.zip
Prevent automatic stripping of binaries. Closes bug #252109.
(Portage version: 2.1.6.4/cvs/Linux 2.6.24-tuxonice-r9 i686)
Diffstat (limited to 'x11-plugins/wmlaptop/wmlaptop-1.3.ebuild')
-rw-r--r--x11-plugins/wmlaptop/wmlaptop-1.3.ebuild17
1 files changed, 12 insertions, 5 deletions
diff --git a/x11-plugins/wmlaptop/wmlaptop-1.3.ebuild b/x11-plugins/wmlaptop/wmlaptop-1.3.ebuild
index 6c889fe61c84..97681240dfe3 100644
--- a/x11-plugins/wmlaptop/wmlaptop-1.3.ebuild
+++ b/x11-plugins/wmlaptop/wmlaptop-1.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 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/wmlaptop/wmlaptop-1.3.ebuild,v 1.6 2007/07/22 04:56:29 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmlaptop/wmlaptop-1.3.ebuild,v 1.7 2009/01/14 15:54:35 s4t4n Exp $
IUSE=""
@@ -15,14 +15,21 @@ 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"
KEYWORDS="~amd64 ~ppc x86"
+src_unpack() {
+ unpack ${A}
+
+ #Prevent automatic stripping of binaries. Closes bug #252109
+ sed -i 's/install -c -o 0 -g 0 -s -m/install -c -o 0 -g 0 -m/' "${S}/src/Makefile"
+}
+
src_compile() {
- cd ${S}
emake CFLAGS="${CFLAGS} -Wall" || die "Compilation failed"
}
@@ -33,5 +40,5 @@ src_install() {
dodoc AUTHORS README README.IT THANKS
insinto /usr/share/applications
- doins ${FILESDIR}/${PN}.desktop
+ doins "${FILESDIR}/${PN}.desktop"
}