summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-11-18 04:54:32 +0000
committerJeroen Roovers <jer@gentoo.org>2011-11-18 04:54:32 +0000
commitaa4d5080e15eeb155d74881553cc08384774442b (patch)
treec262e869a1b33e54f58270228896e19c4f3405ad /net-analyzer/snortsam
parentOff-by-one in version_is_at_least. (diff)
downloadgentoo-2-aa4d5080e15eeb155d74881553cc08384774442b.tar.gz
gentoo-2-aa4d5080e15eeb155d74881553cc08384774442b.tar.bz2
gentoo-2-aa4d5080e15eeb155d74881553cc08384774442b.zip
Respect LDFLAGS.
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/snortsam')
-rw-r--r--net-analyzer/snortsam/ChangeLog5
-rw-r--r--net-analyzer/snortsam/snortsam-2.70.ebuild14
2 files changed, 13 insertions, 6 deletions
diff --git a/net-analyzer/snortsam/ChangeLog b/net-analyzer/snortsam/ChangeLog
index d17b4dc3716e..6a77396733d4 100644
--- a/net-analyzer/snortsam/ChangeLog
+++ b/net-analyzer/snortsam/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/snortsam
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsam/ChangeLog,v 1.31 2011/07/31 12:56:46 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsam/ChangeLog,v 1.32 2011/11/18 04:54:32 jer Exp $
+
+ 18 Nov 2011; Jeroen Roovers <jer@gentoo.org> snortsam-2.70.ebuild:
+ Respect LDFLAGS.
*snortsam-2.70 (31 Jul 2011)
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 \{\} \;
}