summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2003-02-06 04:11:05 +0000
committerPeter Johanson <latexer@gentoo.org>2003-02-06 04:11:05 +0000
commit87f80b70d5a00a08da91ee826af9578b3544e9ea (patch)
treeba0076eed68c60f7044c2c0853b38996251d1737 /net-wireless/airtraf
parentguile-config is broken for ppc in 1.4.1 (diff)
downloadhistorical-87f80b70d5a00a08da91ee826af9578b3544e9ea.tar.gz
historical-87f80b70d5a00a08da91ee826af9578b3544e9ea.tar.bz2
historical-87f80b70d5a00a08da91ee826af9578b3544e9ea.zip
Fixed sedding to not need sed-4
Diffstat (limited to 'net-wireless/airtraf')
-rw-r--r--net-wireless/airtraf/airtraf-1.0.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/net-wireless/airtraf/airtraf-1.0.ebuild b/net-wireless/airtraf/airtraf-1.0.ebuild
index ec9559e27b69..2bfcfcd84d60 100644
--- a/net-wireless/airtraf/airtraf-1.0.ebuild
+++ b/net-wireless/airtraf/airtraf-1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/airtraf/airtraf-1.0.ebuild,v 1.1 2003/01/30 05:57:04 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/airtraf/airtraf-1.0.ebuild,v 1.2 2003/02/06 04:11:05 latexer Exp $
DESCRIPTION="AirTraf 802.11b Wireless traffic sniffer"
HOMEPAGE="http://www.elixar.com/"
@@ -19,10 +19,12 @@ src_compile() {
# Do some sedding to make compile flags work
- sed -i "s:gcc:${CC}:" Makefile.rules
- sed -i "s:CFLAGS = -Wall -O2:CFLAGS = ${CFLAGS} -Wall:" Makefile.rules
- sed -i "s:c++:${GXX}:" Makefile.rules
- sed -i "s:CXXFLAGS = -Wall -O2:CXXFLAGS = ${GXXFLAGS} -Wall:" Makefile.rules
+ cp Makefile.rules ${T}
+ sed -e "s:gcc:${CC}:" \
+ -e "s:CFLAGS = -Wall -O2:CFLAGS = ${CFLAGS} -Wall:" \
+ -e "s:c++:${GXX}:" \
+ -e "s:CXXFLAGS = -Wall -O2:CXXFLAGS = ${GXXFLAGS} -Wall:" \
+ ${T}/Makefile.rules > Makefile.rules
make || die
}