summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2010-08-31 16:59:59 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2010-08-31 16:59:59 +0000
commit39c37eda9cf3397c9eacb2f5731bc8c79f428a80 (patch)
tree1f4ed075e13a1e28504aa4fa0b5d1cd5e55c51a0 /app-editors
parentBug 335128. Thanks to Lech Perczak. (diff)
downloadgentoo-2-39c37eda9cf3397c9eacb2f5731bc8c79f428a80.tar.gz
gentoo-2-39c37eda9cf3397c9eacb2f5731bc8c79f428a80.tar.bz2
gentoo-2-39c37eda9cf3397c9eacb2f5731bc8c79f428a80.zip
Respect LDFLAGS, bug #335437.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/elvis/ChangeLog7
-rw-r--r--app-editors/elvis/elvis-2.2.0-r3.ebuild8
2 files changed, 11 insertions, 4 deletions
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 <nelchael@gentoo.org> elvis-2.2.0-r3.ebuild:
+ Respect LDFLAGS, bug #335437.
05 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> 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"
}