From 78a64667408344d4072566c96dae7a9129b2f9f2 Mon Sep 17 00:00:00 2001 From: Christoph Mende Date: Fri, 18 Mar 2011 20:35:48 +0000 Subject: QA: Respect LDFLAGS (bug #335535) (Portage version: 2.2.0_alpha27/cvs/Linux x86_64) --- media-video/rovclock/ChangeLog | 8 ++++++-- media-video/rovclock/files/rovclock-0.6e-ldflags.patch | 13 +++++++++++++ media-video/rovclock/rovclock-0.6e.ebuild | 11 ++++++++--- 3 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 media-video/rovclock/files/rovclock-0.6e-ldflags.patch (limited to 'media-video') diff --git a/media-video/rovclock/ChangeLog b/media-video/rovclock/ChangeLog index 08fd38766661..6bca55879ceb 100644 --- a/media-video/rovclock/ChangeLog +++ b/media-video/rovclock/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/rovclock -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/rovclock/ChangeLog,v 1.6 2010/05/22 11:41:03 tove Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/rovclock/ChangeLog,v 1.7 2011/03/18 20:35:48 angelos Exp $ + + 18 Mar 2011; Christoph Mende rovclock-0.6e.ebuild, + +files/rovclock-0.6e-ldflags.patch: + QA: Respect LDFLAGS (bug #335535) 22 May 2010; Torsten Veller metadata.xml: Remove genstef from metadata.xml (#66339) diff --git a/media-video/rovclock/files/rovclock-0.6e-ldflags.patch b/media-video/rovclock/files/rovclock-0.6e-ldflags.patch new file mode 100644 index 000000000000..ad7e809b0fcd --- /dev/null +++ b/media-video/rovclock/files/rovclock-0.6e-ldflags.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index 7d2a21e..5912f71 100644 +--- a/Makefile ++++ b/Makefile +@@ -13,7 +13,7 @@ CFLAGS = -O2 -Wall -Wstrict-prototypes $(DEFS) + all: $(PROG) + + $(PROG): $(SRCS) +- $(CC) $(CFLAGS) -o $@ $^ ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ + + $(SRCS): $(HDRS) + diff --git a/media-video/rovclock/rovclock-0.6e.ebuild b/media-video/rovclock/rovclock-0.6e.ebuild index 9b00ecb9179a..cc316083037c 100644 --- a/media-video/rovclock/rovclock-0.6e.ebuild +++ b/media-video/rovclock/rovclock-0.6e.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/rovclock/rovclock-0.6e.ebuild,v 1.4 2008/09/15 09:26:48 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/rovclock/rovclock-0.6e.ebuild,v 1.5 2011/03/18 20:35:48 angelos Exp $ -inherit toolchain-funcs +EAPI=3 +inherit toolchain-funcs eutils DESCRIPTION="Overclocking utility for ATI Radeon cards" HOMEPAGE="http://www.hasw.net/linux/" @@ -13,6 +14,10 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="" +src_prepare() { + epatch "${FILESDIR}"/${P}-ldflags.patch +} + src_compile() { emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" } -- cgit v1.2.3-65-gdbad