Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/bro/
Date: Tue, 01 May 2018 09:26:55
Message-Id: 1525166798.c1fecceec0e9a6dd1880120a40d59bad0cf56523.mgorny@gentoo
1 commit: c1fecceec0e9a6dd1880120a40d59bad0cf56523
2 Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
3 AuthorDate: Sun Apr 22 15:33:58 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 1 09:26:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1feccee
7
8 net-analyzer/bro: fix python shebang #600266
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11 Closes: https://bugs.gentoo.org/600266
12 Closes: https://github.com/gentoo/gentoo/pull/8107
13
14 net-analyzer/bro/bro-2.4.1-r2.ebuild | 8 +++++++-
15 1 file changed, 7 insertions(+), 1 deletion(-)
16
17 diff --git a/net-analyzer/bro/bro-2.4.1-r2.ebuild b/net-analyzer/bro/bro-2.4.1-r2.ebuild
18 index 231ad94155e..5170d3b253a 100644
19 --- a/net-analyzer/bro/bro-2.4.1-r2.ebuild
20 +++ b/net-analyzer/bro/bro-2.4.1-r2.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2016 Gentoo Foundation
23 +# Copyright 1999-2018 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27 @@ -44,6 +44,12 @@ pkg_setup() {
28 use python && python-single-r1_pkg_setup
29 }
30
31 +src_prepare() {
32 + # Disable shell script feature which sets interpreter to build time default
33 + find . -name "*.cmake" -exec sed -i -e "s:\${\${_shell}_interp}:/usr/bin/env ${EPYTHON}:g" {} + || die
34 + cmake-utils_src_prepare
35 +}
36 +
37 src_configure() {
38 local mycmakeargs=(
39 -DENABLE_DEBUG=$(usex debug true false)