diff options
Diffstat (limited to 'net-analyzer/snortsam/snortsam-2.70.ebuild')
-rw-r--r-- | net-analyzer/snortsam/snortsam-2.70.ebuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/net-analyzer/snortsam/snortsam-2.70.ebuild b/net-analyzer/snortsam/snortsam-2.70.ebuild index e49884844df6..f594430b02e4 100644 --- a/net-analyzer/snortsam/snortsam-2.70.ebuild +++ b/net-analyzer/snortsam/snortsam-2.70.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsam/snortsam-2.70.ebuild,v 1.1 2011/07/31 12:56:46 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsam/snortsam-2.70.ebuild,v 1.2 2011/11/18 04:54:32 jer Exp $ EAPI="2" @@ -20,10 +20,14 @@ IUSE="" S=${WORKDIR}/${PN} src_prepare() { - sed -i -e "s:sbin/functions.sh:etc/init.d/functions.sh:" \ - -e "s: -O2 : ${CFLAGS} :" \ - -e "s:gcc :$(tc-getCC) :" \ - -e "s:\( -o ../snortsam\): ${LDFLAGS}\1:" makesnortsam.sh || die "sed failed" + sed -i makesnortsam.sh \ + -e "s:sbin/functions.sh:etc/init.d/functions.sh:" \ + -e "s: -O2 : ${CFLAGS} :" \ + -e "s:gcc :$(tc-getCC) :" \ + -e "/^LDFLAGS=/d" \ + -e "s:\( -o ../snortsam\): ${LDFLAGS}\1:" \ + || die "sed failed" + find "${S}" -depth -type d -name CVS -exec rm -rf \{\} \; } |