diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2010-08-31 16:59:59 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2010-08-31 16:59:59 +0000 |
commit | 70b24a0bc33801afb7502c58d8410bdcc46f0e2e (patch) | |
tree | ac5c28a3d246a5151e5339ca72972515e330b4d1 /app-editors/elvis/elvis-2.2.0-r3.ebuild | |
parent | Bug 335128. Thanks to Lech Perczak. (diff) | |
download | historical-70b24a0bc33801afb7502c58d8410bdcc46f0e2e.tar.gz historical-70b24a0bc33801afb7502c58d8410bdcc46f0e2e.tar.bz2 historical-70b24a0bc33801afb7502c58d8410bdcc46f0e2e.zip |
Respect LDFLAGS, bug #335437.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'app-editors/elvis/elvis-2.2.0-r3.ebuild')
-rw-r--r-- | app-editors/elvis/elvis-2.2.0-r3.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
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" } |