summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-06-28 09:31:26 +0000
committerPeter Volkov <pva@gentoo.org>2011-06-28 09:31:26 +0000
commit05a12e1436cf2999e9e498bc47b1d78fca994816 (patch)
tree321c9fcb513988a88448d0ced2df75bfd5b5d2d1 /net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild
parentFix build without libgcrypt, bug #373079 by nzqr. (diff)
downloadgentoo-2-05a12e1436cf2999e9e498bc47b1d78fca994816.tar.gz
gentoo-2-05a12e1436cf2999e9e498bc47b1d78fca994816.tar.bz2
gentoo-2-05a12e1436cf2999e9e498bc47b1d78fca994816.zip
Fix sed statement to avoid cross-compiling issues, bug #373193 thank Bertrand Jacquin for report and Justin Lecher for investigation. Drop old.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild')
-rw-r--r--net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild b/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild
index fea634e4765e..319c6f26cb10 100644
--- a/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild
+++ b/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild,v 1.1 2009/06/05 20:00:05 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild,v 1.2 2011/06/28 09:31:26 pva Exp $
inherit eutils fixheadtails toolchain-funcs
@@ -22,8 +22,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
- sed -e "s/gcc.*\-o/$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o/g" \
- -e "s/g++.*\-o/$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o/g" \
+ sed -e "s|gcc.*\-o|$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o|g" \
+ -e "s|g++.*\-o|$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o|g" \
-i testing/Makefile
ht_fix_file testing/*.sh
}