summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-09-09 10:33:35 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-09-09 10:33:35 +0000
commit769366432e6b0bc8b80901f17f2cc5c780be8ed7 (patch)
treec7cc403796df717acf474efa50b06ef0ac7e0106 /x11-plugins/wmxkb/wmxkb-1.2.2.ebuild
parentHonour Gentoo LDFLAGS. Closes bug #336446. (diff)
downloadgentoo-2-769366432e6b0bc8b80901f17f2cc5c780be8ed7.tar.gz
gentoo-2-769366432e6b0bc8b80901f17f2cc5c780be8ed7.tar.bz2
gentoo-2-769366432e6b0bc8b80901f17f2cc5c780be8ed7.zip
Honour Gentoo LDFLAGS, see bug #336528.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins/wmxkb/wmxkb-1.2.2.ebuild')
-rw-r--r--x11-plugins/wmxkb/wmxkb-1.2.2.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11-plugins/wmxkb/wmxkb-1.2.2.ebuild b/x11-plugins/wmxkb/wmxkb-1.2.2.ebuild
index 6115280dad7a..755cff2c7c6f 100644
--- a/x11-plugins/wmxkb/wmxkb-1.2.2.ebuild
+++ b/x11-plugins/wmxkb/wmxkb-1.2.2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmxkb/wmxkb-1.2.2.ebuild,v 1.8 2009/12/15 17:46:13 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmxkb/wmxkb-1.2.2.ebuild,v 1.9 2010/09/09 10:33:35 s4t4n Exp $
+EAPI=2
IUSE=""
DESCRIPTION="Dockable keyboard layout switcher for Window Maker"
@@ -21,6 +22,11 @@ DEPEND="${RDEPEND}
x11-proto/xextproto
x11-proto/inputproto"
+src_prepare() {
+ #Honour Gentoo LDFLAGS, see bug #336528.
+ sed -ie "s/\$(LD) -o/\$(LD) \$(LDFLAGS) -o/" Makefile.in
+}
+
src_install () {
make DESTDIR="${D}" BINDIR="${D}/usr/bin" DOCDIR="${D}/usr/share/doc" DATADIR="${D}/usr/share" install