diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2010-10-27 08:52:41 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2010-10-27 08:52:41 +0000 |
commit | 605839f7917cad167082cc29f322ce8375ca785a (patch) | |
tree | 7cb6559ce9f58867c13b97870a35f5caad5cd0d3 /x11-plugins | |
parent | Fix overflow. Bug #341103 (diff) | |
download | gentoo-2-605839f7917cad167082cc29f322ce8375ca785a.tar.gz gentoo-2-605839f7917cad167082cc29f322ce8375ca785a.tar.bz2 gentoo-2-605839f7917cad167082cc29f322ce8375ca785a.zip |
Honour Gentoo CFLAGS.
Honour Gentoo LDFLAGS, see bug #337604.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/wmpager/ChangeLog | 8 | ||||
-rw-r--r-- | x11-plugins/wmpager/wmpager-1.2-r1.ebuild | 13 |
2 files changed, 15 insertions, 6 deletions
diff --git a/x11-plugins/wmpager/ChangeLog b/x11-plugins/wmpager/ChangeLog index 2942f2da0714..8211a007800d 100644 --- a/x11-plugins/wmpager/ChangeLog +++ b/x11-plugins/wmpager/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-plugins/wmpager -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpager/ChangeLog,v 1.10 2007/07/22 04:41:20 dberkholz Exp $ +# Copyright 2002-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpager/ChangeLog,v 1.11 2010/10/27 08:52:41 s4t4n Exp $ + + 27 Oct 2010; Michele Noberasco <s4t4n@gentoo.org>; wmpager-1.2-r1.ebuild: + Honour Gentoo CFLAGS. + Honour Gentoo LDFLAGS, see bug #337604. 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; wmpager-1.2-r1.ebuild: diff --git a/x11-plugins/wmpager/wmpager-1.2-r1.ebuild b/x11-plugins/wmpager/wmpager-1.2-r1.ebuild index 40187df9839a..e140a2379100 100644 --- a/x11-plugins/wmpager/wmpager-1.2-r1.ebuild +++ b/x11-plugins/wmpager/wmpager-1.2-r1.ebuild @@ -1,6 +1,6 @@ -# 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/wmpager/wmpager-1.2-r1.ebuild,v 1.12 2009/09/23 14:57:53 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpager/wmpager-1.2-r1.ebuild,v 1.13 2010/10/27 08:52:41 s4t4n Exp $ EAPI=2 @@ -20,8 +20,13 @@ DEPEND="${RDEPEND} >=sys-apps/sed-4" src_prepare() { - sed -i "s:\(WMPAGER_DEFAULT_INSTALL_DIR \).*:\1\"/usr/share/wmpager\":" \ - src/wmpager.c + sed -i "s:\(WMPAGER_DEFAULT_INSTALL_DIR \).*:\1\"/usr/share/wmpager\":" src/wmpager.c + + #Honour Gentoo CFLAGS + sed -i "s/-g/${CFLAGS}/" src/Makefile + + #Honour Gentoo LDFLAGS, see bug #337604 + sed -i "s/\${LIBS}/\${LIBS} \${LDFLAGS}/" src/Makefile } src_install() { |