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
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')
-rw-r--r--x11-plugins/wmxkb/ChangeLog7
-rw-r--r--x11-plugins/wmxkb/wmxkb-1.2.2.ebuild10
2 files changed, 13 insertions, 4 deletions
diff --git a/x11-plugins/wmxkb/ChangeLog b/x11-plugins/wmxkb/ChangeLog
index b785dfdb619b..63cfd7ec57a5 100644
--- a/x11-plugins/wmxkb/ChangeLog
+++ b/x11-plugins/wmxkb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-plugins/wmxkb
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmxkb/ChangeLog,v 1.11 2009/12/15 17:46:13 ssuominen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmxkb/ChangeLog,v 1.12 2010/09/09 10:33:35 s4t4n Exp $
+
+ 09 Sep 2010; Michele Noberasco <s4t4n@gentoo.org> wmxkb-1.2.2.ebuild:
+ Honour Gentoo LDFLAGS, see bug #336528.
15 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> wmxkb-1.2.2.ebuild:
Fix HOMEPAGE and SRC_URI wrt #297028.
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