summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shakaryan <omp@gentoo.org>2008-04-24 08:55:04 +0000
committerDavid Shakaryan <omp@gentoo.org>2008-04-24 08:55:04 +0000
commit55fdf9e4afd25f7eb0554b26e64ad2512b1dc098 (patch)
tree3067f865f030fbbe204f5e939ef35cdde40f9345 /x11-misc/bbkeys/bbkeys-0.9.0-r1.ebuild
parentCompile with GCC 4.3; patch by Peter Alfredsen. (bug #218336) (diff)
downloadgentoo-2-55fdf9e4afd25f7eb0554b26e64ad2512b1dc098.tar.gz
gentoo-2-55fdf9e4afd25f7eb0554b26e64ad2512b1dc098.tar.bz2
gentoo-2-55fdf9e4afd25f7eb0554b26e64ad2512b1dc098.zip
Compile with GCC 4.3; patch from Fedora. (bug #217980)
(Portage version: 2.1.5_rc3)
Diffstat (limited to 'x11-misc/bbkeys/bbkeys-0.9.0-r1.ebuild')
-rw-r--r--x11-misc/bbkeys/bbkeys-0.9.0-r1.ebuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/x11-misc/bbkeys/bbkeys-0.9.0-r1.ebuild b/x11-misc/bbkeys/bbkeys-0.9.0-r1.ebuild
index 9c7da336204e..300e004c5a0a 100644
--- a/x11-misc/bbkeys/bbkeys-0.9.0-r1.ebuild
+++ b/x11-misc/bbkeys/bbkeys-0.9.0-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/bbkeys/bbkeys-0.9.0-r1.ebuild,v 1.3 2006/12/07 02:24:16 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/bbkeys/bbkeys-0.9.0-r1.ebuild,v 1.4 2008/04/24 08:55:04 omp Exp $
+
+inherit eutils
DESCRIPTION="Use keyboard shortcuts in the blackbox wm"
HOMEPAGE="http://bbkeys.sourceforge.net"
@@ -15,7 +17,14 @@ RDEPEND=">=x11-wm/blackbox-0.70.0"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-src_install () {
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-gcc-4.3.patch"
+}
+
+src_install() {
make DESTDIR="${D}" install || die "make install failed"
rm -rf "${D}/usr/share/doc"
dodoc AUTHORS BUGS ChangeLog NEWS README