From 39c37eda9cf3397c9eacb2f5731bc8c79f428a80 Mon Sep 17 00:00:00 2001 From: Krzysztof Pawlik Date: Tue, 31 Aug 2010 16:59:59 +0000 Subject: Respect LDFLAGS, bug #335437. (Portage version: 2.1.8.3/cvs/Linux x86_64) --- app-editors/elvis/ChangeLog | 7 +++++-- app-editors/elvis/elvis-2.2.0-r3.ebuild | 8 ++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'app-editors') diff --git a/app-editors/elvis/ChangeLog b/app-editors/elvis/ChangeLog index 6a08b58d1bc4..50c2ba5e22c8 100644 --- a/app-editors/elvis/ChangeLog +++ b/app-editors/elvis/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-editors/elvis -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/elvis/ChangeLog,v 1.42 2009/08/05 18:29:29 ssuominen Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/elvis/ChangeLog,v 1.43 2010/08/31 16:59:59 nelchael Exp $ + + 31 Aug 2010; Krzysztof Pawlik elvis-2.2.0-r3.ebuild: + Respect LDFLAGS, bug #335437. 05 Aug 2009; Samuli Suominen elvis-2.2.0-r3.ebuild, +files/elvis-2.2.0-glibc-2.10.patch: diff --git a/app-editors/elvis/elvis-2.2.0-r3.ebuild b/app-editors/elvis/elvis-2.2.0-r3.ebuild index 5f779ecefed9..ccd5559e7043 100644 --- a/app-editors/elvis/elvis-2.2.0-r3.ebuild +++ b/app-editors/elvis/elvis-2.2.0-r3.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/app-editors/elvis/elvis-2.2.0-r3.ebuild,v 1.11 2009/08/05 18:29:29 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/elvis/elvis-2.2.0-r3.ebuild,v 1.12 2010/08/31 16:59:59 nelchael Exp $ inherit eutils versionator @@ -51,6 +51,10 @@ src_compile() { # Don't try to write to /etc sed -i -e 's,/etc/elvis,${D}/etc/elvis,g' Makefile || die "sed 3 failed" + # Use LDFLAGS + sed -i -e "s#\$(CC) \$(CFLAGS)#\$(CC) \$(CFLAGS) ${LDFLAGS}#" Makefile || \ + die "sed 4 failed" + emake || die "make failed" } -- cgit v1.2.3-65-gdbad