public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/bro/
@ 2018-05-01  9:26 99% Michał Górny
  0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2018-05-01  9:26 UTC (permalink / raw
  To: gentoo-commits

commit:     c1fecceec0e9a6dd1880120a40d59bad0cf56523
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Sun Apr 22 15:33:58 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May  1 09:26:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1feccee

net-analyzer/bro: fix python shebang #600266

Package-Manager: Portage-2.3.31, Repoman-2.3.9
Closes: https://bugs.gentoo.org/600266
Closes: https://github.com/gentoo/gentoo/pull/8107

 net-analyzer/bro/bro-2.4.1-r2.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/bro/bro-2.4.1-r2.ebuild b/net-analyzer/bro/bro-2.4.1-r2.ebuild
index 231ad94155e..5170d3b253a 100644
--- a/net-analyzer/bro/bro-2.4.1-r2.ebuild
+++ b/net-analyzer/bro/bro-2.4.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -44,6 +44,12 @@ pkg_setup() {
 	use python && python-single-r1_pkg_setup
 }
 
+src_prepare() {
+	# Disable shell script feature which sets interpreter to build time default
+	find . -name "*.cmake" -exec sed -i -e "s:\${\${_shell}_interp}:/usr/bin/env ${EPYTHON}:g" {} + || die
+	cmake-utils_src_prepare
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DENABLE_DEBUG=$(usex debug true false)


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-05-01  9:26 99% [gentoo-commits] repo/gentoo:master commit in: net-analyzer/bro/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox