diff options
author | 2010-09-15 10:22:18 +0000 | |
---|---|---|
committer | 2010-09-15 10:22:18 +0000 | |
commit | 9ca37ef7b3cd2eb262d9063642cb18f665bc4c1a (patch) | |
tree | 785e36f32c7643870d375b5d62650c0e96a7ce5b /x11-plugins/wmgtemp | |
parent | Honour Gentoo LDFLAGS, see bug #337434. (diff) | |
download | gentoo-2-9ca37ef7b3cd2eb262d9063642cb18f665bc4c1a.tar.gz gentoo-2-9ca37ef7b3cd2eb262d9063642cb18f665bc4c1a.tar.bz2 gentoo-2-9ca37ef7b3cd2eb262d9063642cb18f665bc4c1a.zip |
Honour Gentoo LDFLAGS, rationalizing Makefile - see bug #337411.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-plugins/wmgtemp')
-rw-r--r-- | x11-plugins/wmgtemp/ChangeLog | 7 | ||||
-rw-r--r-- | x11-plugins/wmgtemp/wmgtemp-1.0.ebuild | 9 |
2 files changed, 11 insertions, 5 deletions
diff --git a/x11-plugins/wmgtemp/ChangeLog b/x11-plugins/wmgtemp/ChangeLog index 8b34d99bbb41..a9a48d5288e7 100644 --- a/x11-plugins/wmgtemp/ChangeLog +++ b/x11-plugins/wmgtemp/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-plugins/wmgtemp -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmgtemp/ChangeLog,v 1.16 2010/06/07 10:23:27 s4t4n Exp $ +# Copyright 2002-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmgtemp/ChangeLog,v 1.17 2010/09/15 10:22:18 s4t4n Exp $ + + 15 Sep 2010; Michele Noberasco <s4t4n@gentoo.org> wmgtemp-1.0.ebuild: + Honour Gentoo LDFLAGS, rationalizing Makefile - see bug #337411. 07 Jun 2010; Michele Noberasco <s4t4n@gentoo.org> wmgtemp-0.7.ebuild: Removed lm_sensors-2 dependant version, *leaving no stable version*. diff --git a/x11-plugins/wmgtemp/wmgtemp-1.0.ebuild b/x11-plugins/wmgtemp/wmgtemp-1.0.ebuild index 2ec2307bea90..4e684e9ec765 100644 --- a/x11-plugins/wmgtemp/wmgtemp-1.0.ebuild +++ b/x11-plugins/wmgtemp/wmgtemp-1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmgtemp/wmgtemp-1.0.ebuild,v 1.2 2010/03/29 20:01:37 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmgtemp/wmgtemp-1.0.ebuild,v 1.3 2010/09/15 10:22:18 s4t4n Exp $ inherit eutils @@ -24,8 +24,11 @@ DEPEND="${RDEPEND} src_unpack() { unpack ${A} cd "${S}" - sed -i -e "s:-Wall -g:\$(CFLAGS):" src/Makefile \ - || die "sed failed." + sed -i -e "s:-Wall -g:\$(CFLAGS):" src/Makefile || die "sed failed." + + #Honour Gentoo LDFLAGS, rationalizing Makefile - see bug #337411. + sed -i -e "s:LDFLAGS =:LIBS =:" src/Makefile || die "sed failed." + sed -i -e "s:\$(LDFLAGS) -o \$(BINARY):\$(LDFLAGS) -o \$(BINARY) \$(LIBS):" src/Makefile || die "sed failed." } src_compile() { |