diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-04-06 01:01:46 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-04-06 01:01:46 +0000 |
commit | 4c6493c22d6e2e644de0e7b3c4d2ccac2bfd5549 (patch) | |
tree | d16d747840a025de5b8d7996610a4c2462b6f46f /net-firewall | |
parent | Version bump to latest (diff) | |
download | gentoo-2-4c6493c22d6e2e644de0e7b3c4d2ccac2bfd5549.tar.gz gentoo-2-4c6493c22d6e2e644de0e7b3c4d2ccac2bfd5549.tar.bz2 gentoo-2-4c6493c22d6e2e644de0e7b3c4d2ccac2bfd5549.zip |
Fix build with gcc-4.6.0, -R is a flag of the linker, not the compiler.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'net-firewall')
-rw-r--r-- | net-firewall/ipsec-tools/ChangeLog | 8 | ||||
-rw-r--r-- | net-firewall/ipsec-tools/ipsec-tools-0.7.3-r1.ebuild | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/net-firewall/ipsec-tools/ChangeLog b/net-firewall/ipsec-tools/ChangeLog index 80a97a586865..5aea0d1ef9cd 100644 --- a/net-firewall/ipsec-tools/ChangeLog +++ b/net-firewall/ipsec-tools/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-firewall/ipsec-tools -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipsec-tools/ChangeLog,v 1.75 2010/01/10 01:12:10 robbat2 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipsec-tools/ChangeLog,v 1.76 2011/04/06 01:01:46 flameeyes Exp $ + + 06 Apr 2011; Diego E. Pettenò <flameeyes@gentoo.org> + ipsec-tools-0.7.3-r1.ebuild: + Fix build with gcc-4.6.0, -R is a flag of the linker, not the compiler. *ipsec-tools-0.7.3-r1 (10 Jan 2010) diff --git a/net-firewall/ipsec-tools/ipsec-tools-0.7.3-r1.ebuild b/net-firewall/ipsec-tools/ipsec-tools-0.7.3-r1.ebuild index 2967b2b73c97..f0bb588bc96f 100644 --- a/net-firewall/ipsec-tools/ipsec-tools-0.7.3-r1.ebuild +++ b/net-firewall/ipsec-tools/ipsec-tools-0.7.3-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipsec-tools/ipsec-tools-0.7.3-r1.ebuild,v 1.2 2010/01/10 05:10:27 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipsec-tools/ipsec-tools-0.7.3-r1.ebuild,v 1.3 2011/04/06 01:01:46 flameeyes Exp $ inherit eutils flag-o-matic autotools linux-info @@ -83,6 +83,8 @@ src_unpack() { sed -i 's:-Werror::g' "${S}"/configure.ac # Fixing duplicate specification of vmbuf.h #300161 epatch "${FILESDIR}"/${PN}-duplicate-header.patch + # fix for building with gcc-4.6 + sed -i 's: -R: -Wl,-R:' "${S}"/configure.ac AT_M4DIR="${S}" eautoreconf epunt_cxx |